Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -146,7 +146,7 @@ class RxList<E> implements List<E>, RxInterface<List<E>> { | @@ -146,7 +146,7 @@ class RxList<E> implements List<E>, RxInterface<List<E>> { | ||
| 146 | 146 | ||
| 147 | @override | 147 | @override |
| 148 | void sort([int compare(E a, E b)]) { | 148 | void sort([int compare(E a, E b)]) { |
| 149 | - _list.sort(); | 149 | + _list.sort(compare); |
| 150 | subject.add(_list); | 150 | subject.add(_list); |
| 151 | } | 151 | } |
| 152 | 152 |
-
Please register or login to post a comment