added sort, delete, and throw exceptions in todo list w mysql