Jeanne Boyarsky wrote:And this is why one (me) should always test code. The code I had provided created a new list of size one and called assert which would never work. This one should go better.
when added it produces the error
expected: <[1,2,3,4,5,6,7,8,9]> but was: <[2,1,5,4,6,3,9,7,8]>
all it is, is in a different order