using what i called "double sided bubble sort" just watch
The highest and the lowest numbers are usually first to be in their correct place. The middle of the list is where it takes the most time. Phase 1: Flickering If the middle is flickering, then it means that it is not close to finishing. Phase 2: Transition If the middle is still flickering, but increasing/decreasing less, then you are transitioning into phase 3. Phase 3: Incrementing If the middle is incrementing by a few hundred/thousands, then this means that you are approaching the end.