changed the task sort order so it should always be consistent regardless of underlying ids;

Resolves: http://bugs.web2project.net/view.php?id=1409