Updates to the Task class

The Task class has been updated to include the functionality that
inserts a task into the DOM in sorted order.  While not fully
functional, the code is being saved because the PC is unstable.  :)