In decklistmodel.cpp, line 258, the DeckListModel::addCard() method sorts the list. I need a way to tell it which column and what order to use when doing that. Since we're adding a card and not changing the sort order by clicking on a header, I can just use the same column and SortOrder we used the last time the list was sorted, and I use these variables to store that information.

If there's a better way to accomplish that, I'm all ears. This was just the first one I hit on.