EDIT: Removed merge sort temporarily and added uncompleted median sort.