QBug: Sorting by Priority no longer makes some rows disappear

It was considering all priorities other than Low, Medium, High and
Criticial to be equal to each other, which confused the MDAO indices.