Merge sort is a sorting algorithm.

Merge Sort is particularly useful for sorting linked lists, as it does not rely on random access to elements in the list. Instead, it uses a -like approach to merging the sub-lists.

Merge Sort was invented by John von Neumann in 1945, although it was later independently developed by several other computer scientists. It is an example of a -based sorting algorithm.