Add sort selected rows button logic
Currently, when selecting a row in results search table, a button appears to let the user sort the table by selected rows.
The button has no effect as its logic isn't implemented yet.
Add the correct logic to let users sort the table by selected rows.
This is really important, especially when selecting points from the map.