Code cleanup + some styling in task list
Moving comparator function into setComparator func