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.
"Give a new name to a native function" is not a good idea for a kata.
Ah, I see.
Nope, it mean that you sort the list by the numbers, and if there are any ties, then sort by the name in lexicographical order.
Doesn't "The return of the function shall first be sorted by yymm, then by the name (which varies in length)." mean that you sort the list by the numbers, and if there are any ties, then sort by the length of the name?
Who said you should use length for comparison?
In one of the tests, the input is ['aeb-1305', 'site-1305', 'play-1215', 'web-1304', 'site-1304', 'beb-1305'] and the expected output is ["play-1215", "site-1304", "web-1304", "aeb-1305", "beb-1305", "site-1305"]. Correct me if I'm mistaken, but shouldn't the output be ["play-1215", "web-1304", "site-1304", "aeb-1305", "beb-1305", "site-1305"] since web-1304 has the same number as site-1304 but web is a shorter word so it goes first? The error message is ['play-1215', 'web-1304', 'site-1304', 'aeb-1305', 'beb-1305', 'site-1305'] should equal ['play-1215', 'site-1304', 'web-1304', 'aeb-1305', 'beb-1305', 'site-1305']. (Python)