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.
It looks like you are just taking a 2D array and turning it into a 1D list that is sorted (which is not what the Kata is asking).
Isn't it the other way around? The input is a n x n array (or List for Python) and the output is a 1D list.