Interface for Container classes whose Items can be sorted.
Inheritance Path. com.itmill.toolkit.data.Container.Sortable
Parameters
The sortable field ids.
Get the container property IDs, which can be used to sort the item.
Parameters
propertyId
Array of container property IDs, which values are used to
sort the items in container as primary, secondary, ...
sorting criterion. All of the item IDs must be in the
collection returned by
getSortableContainerPropertyIds()
ascending
Array of sorting order flags corresponding to each property ID
used in sorting. If this array is shorter than propertyId array,
ascending order is assumed for items where the order is not
specified.
Use
true
to sort in ascending order,
false
to use descending order.
Sort method. Sort the container items.