Details
Description
Sorting a list of QModelIndexes from a single model does not appear to be correct. Sometimes parent indexes come after its children.
The correct sort order should be: a parent is < any of its children, and children under the same parent are sorted by row number, then by column number.