notes.c: Reorder functions in preparation for next commit