How can I order the selected images in Ascending or Descending Order?

The images can be sorted based on Ascending or Descending order by selecting the dropdown list in the result menu as shown below

 

The images are then sorted according to the selected sort order.