Sorting Algorithms Sorting Algorithms Summary Sorting is an important topic in computer science. Of course, displaying data in sorted order is a common occurrence.
Many algorithms assume that the input data is sorted.
For all of our examples, we will assume that the data we are going to be sorting is stored in an array, with N elements in the array. The items in the array will be integers. There are three sorting methods that we will learn. They are not particularly efficient methods, but they are relatively easy to understand. We continue this process until there is only one element remaining, at which point we are guaranteed that the array is in sorted order.