Sort features in Layers view using other variables

When going to the ‘Layers’ view in the app and selecting a layer, it is currently only supported to have the entries ordered by the ‘fid’ in ascending order. It would be useful to be able to select a custom field for sorting and having the ability to choose if they are ordered by ascending or descending values.