Right-click any blank area in the file list, click Arrange Icons By,
and select the attribute to sort on.
If you change the view to Details (also on the right-click menu), the
column headings are buttons. Click one of them once to sort by that
column, and click it again to switch between ascending and descending
order or vice versa.