Make add_new_check.py's insertion of registerCheck<> match the sort order

Summary:
Following on from review comments in D65919 about the ordering
of the registerCheck<> calls. Sort based on the check name which might
be on the line after the registerCheck<>

Reviewers: aaron.ballman

Subscribers: cfe-commits, llvm-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D66505

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@370527 91177308-0d34-0410-b5e6-96231b3b80d8
1 file changed