#6991 - Add sorting options in the media browser

Redmine ticket: [#6991](https://projects.artefactual.com/issues/6991).