Sorting algorithm
Determines approach how the data should be arranged in a specific order
Why is sorting important?
Data can be more readable and can be optimised to a high level
In-place sorting
When program does not require any extra spaces so is sorted within the data structure itself like an array
Not-in-place sorting
When program requires extra space which is >= to elements being sorted
In-place sorting examples
Bubble sort
Not-in-place sorting examples
Merge-sort