About sorting algorithms
Sorting algorithms are designed to put a list of data in order, either numerical or alphabetical depending on the data.
There are two sorting algorithms you have to be familiar with for your course: the bubble sort algorithm and the merge sort algorithm.
Comparing the bubble and merge sort algorithms
The merge sort is far more efficient than the bubble sort as far fewer comparisons are made. However, the merge sort requires a large amount of memory in order to function. The merge sort is also considered the more difficult algorithm to program.