1689a82229
This change also adds tests for the comparison sorting. Bug: https://github.com/dart-lang/sdk/issues/46509 Change-Id: Ie568a75c25d0a1e1f76f26f4955de92599f3a68b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208521 Reviewed-by: Devon Carew <devoncarew@google.com> Commit-Queue: Jaime Wren <jwren@google.com>