Silly bubble-sort with no mutation