Added sorting by name, date or size ascending/descending