ordered list of fields to sort on.
parses a JSON literal such as ['-rating', '+date', 'id'] into this instance.
data, such as ['-rating', '+date'].
this instance.
combines an other instance such that this order is maintained by priority and equivalent elements are ordered by the other order.
You may want to optimize after merging several instances.
order to merge into this as secondary.
eliminates redundant sort fields that do not affect overall order.
formats a string such as '+name,-id'.
representation of SortOrder, may be the empty string when this is empty.
Generated using TypeDoc
defines a sort order of fields.
Caution, member fields eventually are shared by multiple instances! You may mutate member fields, but not the objects and arrays referenced by them.