Design QuickSort variant with O(n log n) worst-case

Analyze the design quicksort variant with o(n log n) worst-case.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Design QuickSort variant with O(n log n) worst-case

Analyze the design quicksort variant with o(n log n) worst-case.