a showcase of a double-sided bubble sort (cocktail sort) with too many parameters.
This algorithm sorts the extremes (the lowest and highest) first, so the middle is typically the last to be sorted. The Estimated Done counter estimates how much of the list is sorted. This is an estimate, so it may be wrong (up to 5%) Feel free to press "See inside" and change the length of the list.