Open IGJoshua opened 3 years ago
This PR adds support for three new navigators which all navigate to a sorted version of the current sequence.
SORTED
sort
sorted
sorted-by
Before this PR can be merged, the following steps must be completed by the author:
This PR implements what was discussed in #316.
Are there any other changes you'd like me to do @nathanmarz before it would be ready for a merge?
Oh I was looking for this for a use case I have got, any recommended alternative?
This PR adds support for three new navigators which all navigate to a sorted version of the current sequence.
SORTED
, a parameter-less navigator which navigates to a transformable view of the current sequence as if it were run throughsort
sorted
, a single-parameter navigator which is the same asSORTED
but takes a comparatorsorted-by
, a dynamic navigator which takes a keypath for the sort key and an optional comparatorBefore this PR can be merged, the following steps must be completed by the author:
This PR implements what was discussed in #316.