pub fn cmp_size(a: &[(&str, Rational64)], b: &[(&str, Rational64)]) -> OrderingExpand description
Ascending by size. Commodities are compared one by one in symbol order, a missing one counts as 0, and different commodities are never added.
pub fn cmp_size(a: &[(&str, Rational64)], b: &[(&str, Rational64)]) -> OrderingAscending by size. Commodities are compared one by one in symbol order, a missing one counts as 0, and different commodities are never added.