Calls that return IPTQueryResults generally order the data before returning it. Use the OrderedBy call to find out what the order of the data is. Note that when IsOrdered returns FALSE, OrderedBy will return information about the intended ordering of the results, even when that ordering wasn't achieved. The return value is a 2D array describing the ordering of this IPTQueryResult. Each row indicates an order. The first column indicates the PT_PROPIDS property by which the result is ordered, and the second column indicates the sort direction (from PT_ORDERBY_SETTINGS.) For example, if a dataset were ordered by name ascending, then objectid descending, the return value for OrderedBy would look like: PT_PROPID_NAME\u0009\u0009\u0009PT_ORDERBY_ASCENDING PT_PROPID_OBJECTID\u0009\u0009PT_ORDERBY_DESCENDING
a 2D array describing the ordering of this IPTQueryResult.
IPTQueryResult Interface | com.plumtree.server Namespace | PT_PROPIDS | PT_ORDERBY_SETTINGS