Sorts notes by last modified