public class SortListModel : Object, ListModel
SortListModel is a list model that takes a list model and sorts its elements according to a Sorter.
The model can be set up to do incremental sorting, so that sorting long lists doesn't block the UI. See set_incremental for details.
SortListModel is a generic model and because of that it cannot take advantage of any external knowledge when sorting. If you run into performance issues with SortListModel, it is strongly recommended that you write your own sorting list model.