The tasks are currently ordered by id number but you should not rely on this since we may change this in the future. The assumption is that your app would do its own internal sorting and if you write syncing code that depends on the order of returned tasks it will be fragile code.