Sort by columns

How can i sort by "modified" or by "type" with button?

Set Sortby=MODIFIED SortReverse=Off

Set SortReverse=On to sort in the opposite way, of course.

If you open the command editor (and click the Advanced button) then you can use the drop-down menus to find the names of all the other columns you can sort by.