Added sorting in existing files component.