I have a QModelIndexList from "selectedRows()" from a table.

How can I sort this list in reverse order so I can use this list to remove rows while keeping the indices valid.