Sort file extensions.