How do I fix this?
Click on the column heading that you wish to sort the list by (i.e. as you wish to sort by Name, click on the 'Name' heading). If the list is sorted in the reverse order to what you want, then click on the heading again to reverse the current order.
This is pretty much standard Windows functionality with any such list.