tracker issue : CF-4020668

select a category, or use search below
(searches all categories and all time range)
Title:

sort() / querySort() for Query objects

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/Duplicate

Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)

Created: 07/14/2015

Components: Language

Versions: 11.0

Failure Type: Enhancement Request

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Platforms All

Vote Count: 0

Duplicate ID:	CF-3863003

This is overspill from https://bugbase.adobe.com/index.cfm?event=bug&id=3715376

Pls implement Query.sort(callback) & and querySort(query, callback) functions. These should be inline with the sort() methods on other collections such as String.listSort(), array.sort(), etc.

Where possible the API on all collection data-types should be the same when it comes to these sort of methods: if you implement on one, you should implement on all (where it makes sense, anyhow ;-)

Cheers.

-- 
Adam

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4020668

External Customer Info:
External Company:  
External Customer Name: Adam
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

Adam, as per your comment, this is already being tracked as part of bug, CF-3863003. Will be closing this as a duplicate.
Comment by Immanuel N.
6653 | July 14, 2015 05:58:11 AM GMT
Cool.
Comment by External U.
6654 | July 14, 2015 06:42:54 AM GMT
Hi Adam, Callback feature is now in the following docs: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-l/listsort.html https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-s/structsort.html QuerySort- already documented: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-m-r/querysort.html Thanks, Saurav
Comment by External U.
6655 | July 27, 2016 03:37:44 AM GMT