FIX: quick sort