Change the sorting of floating task

Allows the floating task to be added to the last of the list