References > Creo Schematics 4.0 API Guide > The Design Package > Class SortSpec
  
Class SortSpec
This concrete class represents a specification of a sort order, used when calling Design.select.
public class SortSpec
extends Object
Hierarchical Diagram
Direct Known Subclasses
None
Fields
ascending
public static boolean ascending
descending
public static boolean descending
Constructor
Constructs a SortSpec from the specified values.
public SortSpec(String propertyName, boolean order)
Where:
propertyName—The name of the property.
order—The sort order. If true, sort in ascending order. If false, sort in descending order.
Methods
None
Methods Inherited
The methods inherited from other classes are:
Class
Methods Inherited
java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait