diff --git a/api/src/com/todoroo/astrid/core/SortHelper.java b/api/src/com/todoroo/astrid/core/SortHelper.java index 1a137c350..15d678bd0 100644 --- a/api/src/com/todoroo/astrid/core/SortHelper.java +++ b/api/src/com/todoroo/astrid/core/SortHelper.java @@ -112,7 +112,7 @@ public class SortHelper { @SuppressWarnings("nls") public static Order defaultTaskOrder() { return Order.asc(Functions.caseStatement(Task.DUE_DATE.eq(0), - DateUtilities.now() * 2, + Functions.now() + "*2", Task.DUE_DATE) + " + " + (2 * DateUtilities.ONE_DAY) + " * " + Task.IMPORTANCE + " + 2*" + Task.COMPLETION_DATE); }