Within the config of pagination you can set sort by "name", which represents the basename of the document and any other attributes of the document (for example "title").
You can also set "sort_direction" with "DESC" if you want to reverse the results.
Default params, which can be overwritten in the config of each pagination (works also for collections):
'sort' => 'name',
'sort_direction' => 'ASC',
Within the config of pagination you can set sort by "name", which represents the basename of the document and any other attributes of the document (for example "title"). You can also set "sort_direction" with "DESC" if you want to reverse the results.
Default params, which can be overwritten in the config of each pagination (works also for collections): 'sort' => 'name', 'sort_direction' => 'ASC',