sort notes by last update, defaulting to pub date