Sorting Algorithms ======================= That has a paragraph about a main subject and is set when the '=' is at least the same length of the title itself. Merge Sort ------------ This is the basic method i should master, the top-down merge_sort implementation:: def merge_sort(nums): def merge(leftnums, rightnums): i,j = 0,0 res = [] while(i Array to be sorted, # low --> Starting index, # high --> Ending index # Function to do Quick sort def quickSort(arr,low,high): if low < high: # pi is partitioning index, arr[p] is now # at right place pi = partition(arr,low,high) # Separately sort elements before # partition and after partition quickSort(arr, low, pi-1) quickSort(arr, pi+1, high)