Sorting with Parameter Options

I'm trying to implement a quicksort algorithm that can sort objects of the same class by one of several member types. Can anyone suggest the best way to do this?
closed account (48T7M4Gy)
It's probably not the best way from your point of view given your question but this really the only one that will get you anywhere

1. Research the topic
2. Plan - pseudocode, flowchart, mapping, code as required
3. Turn on computer
4. Program/coding
5. Test, debug, revise
Topic archived. No new replies allowed.