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.
sorry the issue is when I run this code in my com it's give the right output
but here it gave me wrong output
and every time I try it gives another output
the wrong output exactly in the sorting of the list
That's a question, not an issue.
Don't mutate the input object. If you must, copy it first.
This comment is hidden because it contains spoiler information about the solution