To change the sorting field or sorting order please click the field then click the sorting icon from the toolbar. 





Alternatively you can set the Patient Sorting details in the Options tab in System Configuration screen.