Yeah was looking for a way to do it without having to update every row every time they changed the order. I was think of something like this but don't know how to implement
Table->task
taskid,name,description
Table->sortorder
sortid,order
order would be an array based on the taskids so something like "5,1,2,4,3" and then only update the sortorder table when they make a change since it will only be needed the next time the page is refreshed.
Then when page is loaded do something like loading the tasks table into an array and somehow sorting/displaying it based on the order array from the sortorder table?