Bubblesort’s niche in game development
Bubblesort’s local incremental swaps can be useful in game-development contexts despite its reputation as the canonical algorithm to avoid
Bubblesort is famously, or infamously, the "never use this" algorithm. Donald Knuth even said it has "nothing to recommend it, except a catchy name." But there is actually a niche where it does well - game development (source linked). What