This animation shows the maxsort algorithm, which is one type of selectsort algorithms. First, we find
the index of the biggest element (max) in the unsorted part of the array (red colored columns).
Next, we swapped the found element with the last element of the unsorted part.
rate animations, add them among their favorites, and mark them as not working.