Advanced Sorting Algorithms