setActiveOrder method
Sets the active sort order by ID.
Returns true if the order was found and set, false otherwise.
Implementation
bool setActiveOrder(String orderId) {
if (_orders.containsKey(orderId)) {
_activeOrderId = orderId;
return true;
}
return false;
}