Merge sort

About the algorithm:

Splits array into one-element arrays and starts merging them into longer, sorted arrays


Categories:  Sort   Efficient  
Best case: Ω(n log n)
Worst case: O(n log n)

Try the algorithm: