Sorting options made functional on dashboard