Mergesort and Quicksort are two efficient sorting algorithms that run in O(n log n) time. Mergesort uses a divide-and-conquer approach, recursively splitting the list into halves until individual elements remain, then merging the sorted halves back together. Quicksort chooses a pivot element and partitions the list into elements less than or greater than the pivot, then recursively sorts the sublists until the entire list is sorted.