mjesteve commented on issue #1100: URL: https://github.com/apache/royale-asjs/issues/1100#issuecomment-818820782
Harb, sortNames contains the "name" of the field(s) to sort by, we cannot pass it to Number. At the same point in the sortOn() function we cannot convert the values of arr either because when the compareNumber function is executed "a and b" refer to the actual values and not the modified ones. The only solution that has worked for me is the direct conversion in compareNumber. How do you see it? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org