[mapguide-users] RE: How to sort a selection set

Jackie Ng jumpinjackie at gmail.com
Mon Jan 30 10:15:16 EST 2012


But what you are sort()'ing is an array of JSON objects right? That's why you
must pass a sorting function as a parameter to sort() because otherwise
sort() has no clue how the objects are to be sorted.

If it's an array of string literals, then sort() should do the alphabetic
sort

- Jackie

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-sort-a-selection-set-tp4344383p4350951.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list