Improve sorting performance of large lists of files
Merge pull request #7800 from owncloud/filesort-performance

Improve sorting performance of large lists of files