Added sorting to Todo and marked complete