Allowed sort types are:
name_asc - Sort by filename ascending.
name_desc - Sort by filename descending
date_asc - Sort by modification time ascending.
date_desc - Sort by modification time descending.
manual - Sort by passed id array, the array must contain the binary ids of the files.
random - Shuffle all the files around.