Support the `key` attribute in the sorting algorithms
nbro opened this issue · 0 comments
nbro commented
TODO
- Support the
key
attribute in all sorting algorithms that can support this, like Python's built-insort
andsorted
functions, which is used to sort the items according to this key, which should be a function - Other functions, like
is_sorted
, should also support this - Change the tests accordingly