Ad
  • Custom User Avatar

    haha, No worries and there's no need to downvote yourself, I don't think it changes anything besides points if it is downvoted. I'm just glad we got you to pass this kata and good luck with future ones :)

  • Custom User Avatar

    As the description states you should return the input array sorted by age in ascending order and that means Just do that.. If there is a tie, don't do anything if names are the same, don't do anything. I'm going to mark as resolved because there is no real issue, 365 people have completed this kata by reading the description. I understand what you mean and in other kata's I have accounted for ties and made people sort by names if there is one but in this kata it is a 7kyu because you just have to return an array sorted on one property and nothing else..

  • Custom User Avatar

    That's because you aren't supposed to do anything if the ages are equal... Just sort by age and in ascending order and you will pass....

  • Custom User Avatar

    only the ages have to be in acending order if you order by names as well you will fail.

  • Custom User Avatar

    If you just sort by age like it says you will be fine :)

  • Custom User Avatar

    what do you mean by that? The test cases matches the one in the description and the ones in the example test cases