LSformElement::valueWithUnit : sort units params before using