static bool CompareGetDistances(Value &a, Value &b) { return a[5] < b[5]; } ... ValueArray &rows = SomeValuaArrayOfValueMap(); Vector<Value> &vv = const_cast< Vector<Value>& >(rows.Get()); Sort(vv, CompareGetDistances); ...
Report message to a moderator