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.
This comment is hidden because it contains spoiler information about the solution
I'm not familiar with PHP, but I looked at the docs and the problem you seem to be having is that PHP
sort()
directly changes the array you're trying to sort, instead of returning it. It returnstrue
when the array has been sorted successfully andfalse
when the function has run into a problem and thus was not able to sort the array. Hope this helps. Reminder -- you can always google problems you have, and docs for specific languages are available online, too.This comment is hidden because it contains spoiler information about the solution