Index: samples/third_party/dromaeo/tests/Common.dart |
diff --git a/samples/third_party/dromaeo/tests/Common.dart b/samples/third_party/dromaeo/tests/Common.dart |
index 34c75dea6cb93bae688cc1fc8622259c98cc26d3..f763fb98a2f62ab0c490556f63591d75dda0c84e 100644 |
--- a/samples/third_party/dromaeo/tests/Common.dart |
+++ b/samples/third_party/dromaeo/tests/Common.dart |
@@ -39,7 +39,7 @@ class Result { |
} |
factory Result(List<double> runsPerSecond) { |
- runsPerSecond.sort(); |
+ runsPerSecond.sort((a, b) => a.compareTo(b)); |
return new Result._internal(runsPerSecond); |
} |