| 251 | } |
| 252 | |
| 253 | void GuiGameList::setPreviousSortIndex() |
| 254 | { |
| 255 | //make the index wrap around |
| 256 | if (((int)sortStateIndex - 1) < 0) { |
| 257 | setSortIndex(sortStates.size() - 1); |
| 258 | } |
| 259 | setSortIndex(sortStateIndex - 1); |
| 260 | } |
| 261 | |
| 262 | void GuiGameList::sort(FolderData::ComparisonFunction & comparisonFunction, bool ascending) |
| 263 | { |