sort files by name, size, type or date