Add sort setting

sort criteria:
by name
by type
by size
by date
by random