Fixed a small glitch with defaulting the sort order for tasks