Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.3.26-incubating
-
None
-
None
Description
Currently, ?sort_by() only accepts a List.
It's not complicated to create an iteratorToList() FreemarkerMethod, though.
So this is a suggestion to make ?sort_by accept an Iterable, and if it detects it was called for Iterable and not a List, it would create the sorted list. It could use heapsort maybe.