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.
Why are you sorting them? You're not supposed to do that.
I think you are reading the Codewars error messages incorrectly: when you see:
"Wrong output for '123': expected true to equal false"
it means that you are returning true and the correct answer should be false.
The best advice to troubleshoot is to print the input (and your output if you want to see what your code is doing incorrectly) - you can learn how to do this here:
Print the input troubleshooting
You can't. But don't worry fot that.
Please use a spoiler flag when you post code, so that users who didn´t solve the kata cannot see it; I put the flag for you this time. Also use markdown tags to format your code or it's not usable. Refer to the documentation about this and more: https://docs.codewars.com/training/troubleshooting/#post-discourse