Todo List using mysql - order list, pager offset, insert, delete items