Make the todos sortable

add ui dependency to array list
add ui-sortable  to main.html