sorting responses