I'm trying to sort a vector of objects for which defining operator< doesn't really make sense, so I'm trying to use the predicate form of std::sort, but I'm having trouble getting it to compile.