Sort quires in list selector