Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I think the answer is wrong, even though it can pass all tests.
Test.assert_equals(order("is2 Thi1s T4est 3a 11h"), "Thi1s is2 3a T4est 11h")
And the test result will be '11h Thi1s is2 3a T4est' should equal 'Thi1s is2 3a T4est 11h'. sorted(w) will put '11h' ahead of 'Thi1s', which is not we wanted.
sorted('11h') -> ['1', '1', 'h']
sorted('Thi1s') -> ['1', 'T', 'h', 'i', 's']
and, the second '1' in '11h' is less than 'T' in 'Thi1s', which is not we wanted.