| Index: sdk/lib/collection/collections.dart
|
| diff --git a/sdk/lib/collection/collections.dart b/sdk/lib/collection/collections.dart
|
| index d8fff38be0a4fba05de531ae8059a681205de10e..9a34944f72cd30357c10bdbec24f4bab34e11e39 100644
|
| --- a/sdk/lib/collection/collections.dart
|
| +++ b/sdk/lib/collection/collections.dart
|
| @@ -305,6 +305,11 @@ class IterableMixinWorkaround {
|
| // The generic type is currently lost. It will be fixed with mixins.
|
| return new SkipWhileIterable(iterable, test);
|
| }
|
| +
|
| + static void sortList(List l, int compare(a, b)) {
|
| + if (compare == null) compare = Comparable.compare;
|
| + _Sort.sort(l, compare);
|
| + }
|
| }
|
|
|
| /**
|
|
|