In C++, is it possible to define a sort order for pointers to member functions? It seems that the operator< is undefined. Also, it's illegal to cast to void*.
class A
{
    public:
        void Test1(){}
        void Test2(){}
};
int main()
{
    void (A::* const one)() = &A::Test1;
    void (A::* const two)() = &A::Test2;
    bool equal = one == two; //Equality works fine.
    bool less = one < two; //Less than doesn't.
    return 0;
}
Thanks!
 
     
     
    