Hi, i have a series of QLists (1,2,3,4 etc) with float values all in a random order. They are all of the same length. Now i then use:

Qt Code:
  1. qSort(list1.begin(), list1.end());
To copy to clipboard, switch view to plain text mode 

to sort list1 into ascending order. OK but how can i sort all the other lists based on the order of this list? E.g. if list1[0] is moved to list1[10] during sorting i want the same thing to occur with all other lists no matter what their values.

Thanks for your help

Matt