sort notes for prev/next button correctly
more readable outlines