Ad
  • Custom User Avatar

    Yes, that's what it should return, the elements of a2 sorted following a rule on the elements of a1. Not a kata issue.

  • Custom User Avatar

    I have tried solving this based on the description but it is so misleading. And the function seems to return the sorted elementes of a2 all the time.