What do you mean by "sort a list of member functions"? There's no way to sort functions. If you mean call different functions based on a variable, you could use pointers to functions.
Like, say you had 3 objects of a class, and they had a variable var, object 1's var is 2, object 2's var is 5, and object 3's var is 4. How would you make it to where object 2's function would happen, and then 3's, and then 1's?
Okay, I would overload the > operator to compare two objects var. Then there's lots of different ways you could solve the problem. You could put the three in an array and sort them, or recursively find the largest of the three, execute, find the largest of the two execute, and then do the last one. I would personally do it the second way, and write a function that takes an arbitrary number of arguments, finds the largest of its arguments and calls its function. Then recursively it would call itself, excluding the largest object from the parameter list, and so on until there is one argument.