Hi,

QListWidget::sortItems ( Qt::SortOrder order = Qt::AscendingOrder ) works well, but I don't like the Qt::AscendingOrder policy. Indeed the function first sorts words beginning with an uppercase character and then sorts the other words starting with a lowercase character. Then it concatenates both results together.

For example if you use sortItems on QListWidget containing the following items:

a
India
Abercrombie
iPad
Queen
iPhone
iPod
papa
ISO

You get the following result:

Abercrombie
India
ISO
Queen
a
iPad
iPhone
iPod
papa

...And I would like this result instead:

a
Abercrombie
India
iPad
iPhone
iPod
ISO
papa
Queen

which is an ascending order that ignores cases.

Is there a way to customize the sort policy ?