setOrdering(ordering) - JDO Query's method
Collection. The ordering specification is a
Stringcontaining one or more ordering declarations separated by commas.
Each ordering declaration is the name of the field on which to order the results followed by one of the following words: "
ascending" or "
The field must be declared in the candidate class or must be a navigation expression starting with a field in the candidate class.
Valid field types are primitive types except
boolean; wrapper types except
ordering- the ordering specification.
- JDO 1.0