return false;
}
+// sort active first, then most recently used to the beginning of the list
bool
EngineControl::state_sort_cmp (const State &a, const State &b) {
if (a->active) {
return false;
}
else {
- return a->lru < b->lru;
+ return a->lru > b->lru;
}
}