Sorting OptionalDeps in toc file.