Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2934

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

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 4.2.0.001
    • Fix Version/s: None
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: