Fixes both the reverse feature of sorting and uses the helpers to sort on the correct data. Closes #3359 (closed)