sort toc entries alphabetically and replace _'s with spaces