Callback versions of listSort(), structSort(), querySort() to match arraySort()

Description

Copied from https://issues.jboss.org/browse/RAILO-2934

G'day
Railo 4/ColdFusion 10 added a function arraySort() which uses a callback as a sort comparator, eg:
arraySort(array, function)
However there was no equivalent functions for lists or structs. These should have been done at the same time. Also as equivalent functions for query iteration should have been implemented too, it stands to reason querySort() should be implemented too.
Obviously these should be implemented as both member functions and procedural functions.

Adam

Activity

Show:

Michael Offner 8 June 2016 at 21:20

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Priority

Created 1 February 2015 at 16:15
Updated 21 February 2025 at 13:32

Flag notifications