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.
Imports for solution and codewars_test are missing.
Tests should use python test framework: https://docs.codewars.com/languages/python/codewars-test
missing import, missing test.it blocks
Lack of novelty
If you disallow solutions like this, then your tests are bad because you can still pass them. If you allow them, then this kata is pointless, because there're already quite a few tasks asking you to define a trivial callback and sort an array using it.