Add explicit sort order rules to EffSort
Fusezion opened this issue ยท 0 comments
Suggestion
Add support for defining the sort order when using EffSort
to allow same flexibility that sorted indices expression allowed.
sort %~objects% [in (:descending|ascending) order] by <.+>
Why?
As far as I'm concerned this effect should have been implemented with ascending/descending in mind when it's biggest use is akin to the sorted indices expression not the sort expression.
Other
Ascending/Descending Order
Existing behavior appears to be only ascending order so we can skip that but descending requires
copy {-list::*} into {_list::*}
sort {_list::*} by input # temporary quick example
set {_list::*} to reversed {_list::*}
I'm strongly against this existing behavior as it requires more work than needed
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.