This patch moves llvm::sort() from AnalyzerOptions constructor to initialization of local static variable in isUnknownAnalyzerConfig().
This avoids unnecessary work, which can speed up Clang tools that initialize lots of CompilerInvocations (and therefore AnalyzerOptions).