sorting quotes