Write queries to retrieve and sort values