Sort commentary categories in TOC by corresponding text order