[C++11] Convert sort predicates into lambdas.

No functionality change.

llvm-svn: 203288
7 files changed