= 0 && $list[$j]->compare($pivot, $order)) { $list[$j + 1] = $list[$j]; --$j; } $list[$j + 1] = $pivot; } return $list; } }