Verifies whether the specified sort criterion is available.
The sort criterion to look for.
true if the specified sort criterion is available; false otherwise.
Verifies whether the specified sort criterion is the currently active one.
The sort criterion to evaluate.
true if the specified sort criterion is the currently active one; false otherwise.
Updates the sort criterion and executes a new query.
The new sort criterion.
Adds a callback that's invoked on state change.
A callback that's invoked on state change.
A function to remove the listener.
The
Sortsub-controller lets you sort the products in a commerce interface.