Sort

 

Sorts the files in the corresponding directory using a selected file property:

 

Name Sorts the files by name, then by extension.

Extension sorts the files by type (extension), then by name

Size sorts the files by their size on disk

Time sorts the files by their creation date and time

Unsorted only separates files and directories, the files are in the same order as in the dir command.

 

Reversed order sorts backwards, i.e. Z to A, the largest to smallest, youngest to oldest

 

Hint: With the sort orders Name and Extension the files are automatically sorted in alphabetically ascending order, with Size and Time in descending order, since these combinations are the most used.