Sort Order
The sort bar widget is a Dojo widget.
This widget is not supported on native mobile pages. Mendix recommends that you use the Gallery or List View instead to display data. See the Mendix React Client's Migration Guide.
This widget is not supported in the React client. To upgrade it to the recommended React widget (Data Grid 2), see the Mendix React Client's Migration Guide.
If you switch to the React client, the widget will not appear in the Toolbox.
The Dojo client is deprecated and will be removed in Mendix 12. It continues receiving security and stability updates until the end of support of Mendix 11.24.
Introduction
A sort order allows you to sort items in a data grid, template grid, list view or a reference set selector.
You can specify what attribute to sort on and in what direction (ascending or descending). First, the contents of the grid are sorted on the first item. If two rows are the same with respect to this sort item, the second item will be used, and so on. For example, if you have sort items for name and age and two people have the same name they will be sorted on their age.
If you do not specify any sort items, the objects will appear in the order in which they were created.
Sort Bar
The sort order can be configured from the properties dialog box or properties panel. In structure mode, it can also be configured with the sort bar.