use todos array controller to handle sorting
Merge pull request #7 from caranicas/feature/todo-sort

use todos array controller to handle sorting