WL-3163 Sort users in CSV export

This is so that the list of user attempts that appears in the CSV export
looks like the list that is shown in the reports page.