francisco.lopes added a comment. Sorting got hardcoded? libclang has it optional. If hardcoded it becomes a performance problem, since some clients may wish to order it themselves with private heuristics. Repository: rL LLVM https://reviews.llvm.org/D39738