title: How to use existing integer sort to sort integer tuples?
body: <p>Does anyone know of an efficient algorithm to use an existing integer sort (such as the STL sort) to sort integer tuples without modifying the existing integer sort.  E.g. I want to sort a list of 4 integer tuples.  Tuples are in the form: <code>&lt;int,int,int, int&gt;</code>.  Again assume the integer sort can only deal with single ints.</p>