Improve sorting performance of large lists of files

Improves performance of `\OCA\Files\Helper::fileCmp` by about 50%.

This brings the time needed to load a folder with a large (~2000) number of files down to ~10s from ~15s on my local machine.

cc @karlitschek @DeepDiver1975 @PVince81