- Issue created by @danielspeicher
- πΊπΈUnited States luke.leber Pennsylvania
luke.leber β made their first commit to this issueβs fork.
- πΊπΈUnited States luke.leber Pennsylvania
I've taken a slightly different stab at this in the issue fork. Rather than providing various flags for the
\sort
function, the action operates at a slightly higher level by allowing users to pick different sorting functions.Jurgen also mentioned in a slack thread...
I'd like to add that there should also be sorting based on either keys, values, or callbacks. The latter would allow sorting based on properties or other logic when values are complex data types.
This might be a crazy idea, but I think that this could be feasible by linking to another ECA action that acts to compare two values with arbitrary steps!
I know that the actual sorting implementation isn't correct -- but it at least allows the kernel tests to pass.
I'll open a draft PR to get some feedback on this feature request.
Thanks!
- πΊπΈUnited States luke.leber Pennsylvania
Added some example model configuration files to aid in review.
I'll mark as NR for the concept check anyhow.
- π©πͺGermany jurgenhaas Gottmadingen
This looks great, thanks @luke.leber for your contribution. Just a minor suggestion in the MR, everything else is ready to be merged.