It's ok I've found out how, here is the code if it helps anyone else...

// set ordering
$stringCollection = new MgStringCollection();
$stringCollection->Add("c_ref"); // SORT FIELD
$queryOptions->SetOrderingFilter($stringCollection,
MgOrderingOption::Descending); // SORT Asc or Desc
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Advanced-search-of-layer-using-MgFeatureQueryOptions-not-working-tp4978840p4979210.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to