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.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to