The Python Stream API Library offering Streams like you know from Java/Kotlin/Scala in Python with some cool extensions
GNU General Public License v3.0
29
stars
4
forks
source link
Add comparator argument to `sorted()`method #15
Closed
garlontas closed 2 years ago
The
sorted()
method currently does not support comparators. It uses Python's defaultsorted
function.An overloaded method like that would be useful
Internally, it could use
functools.cmp_to_key()
combined with the