silvas added a subscriber: silvas. silvas added a comment. I'd really like to see sanity check performance numbers vs. std::sort to make sure that this function is worth it. http://reviews.llvm.org/D14094