Represents a sort order.
construct an enum object with an id and label
get the index/id of this enum entry
an alias for [[OnmsEnum.id]]
get the label of this enum entry
Whether this order matches the given order string.
convert this enum to a string suitable for display
convert to the JSON representation
convert this enum to a string
Static
Given a label ('ASC', 'DESC'), return the corresponding order.
given an order spec (order=DESC), return an [[Order]] object
order=DESC
Represents a sort order.