Hooked sortFilePath