Added sorting to files lists