reversed order of sorting for quick sort