Ad
  • Custom User Avatar

    Since the ordering seems to be correct, I assume, that you have one white space character causing this problem.
    Assert usually does a string compare. If the actual string has one space too much, becuase you were simply adding 'number + " "' each time, the result seems like yours, but contains the whitespace, which is not shown.