Closed markwpearce closed 3 years ago
I updated this PR after doing some more testing. I think my updates are actually much more readable, too.
@sjbarag - Updated with some fixes you requested.
Any chance you might also review https://github.com/sjbarag/brs/pull/583 ?
@sjbarag - Updated with some fixes you requested.
Any chance you might also review #583 ?
Of course! Sorry for the delay — this is a bit of a "side project at work" that I'd love to spend more time on. Checking that out today!
Refactors roArray sort() and sortBy() so it more closely matches what Roku actually does.
Fixes #591
array.sort() example:
**Mixed Arrays seem to get sorted in this order (tested with Roku OS 9.4):
....
here's another example:
SortBy is a little different
it goes :
Here's a sortBy() example ---