Hi, you can use std::sort to sort a QList. This algorithm accepts a custom compare function.
See http://www.cplusplus.com/reference/algorithm/sort/ for details and an example.

Ginsengelf