Just to show that you don't quite need hacked blocks if you need an example for the Scratch wiki Best/average/worst case: O(n log_b max) Memory: O(n) Stable: Yes Online: No In-Place: No Deterministic: Yes
Credit to fungamer2 for their visualizer.