early quicksort implementation
fix indentation