Made list of all queries sortable.