fixes:#18430 Keep RTL RangeSlider value consistent

Keep the order of the value array consistent, even when in RTL mode so
that the order is always [min, max]. This also changes the order of the
values for VerticalRangeSlider to always be [min, max]. Fixes [#18430 ](https://bugs.dojotoolkit.org/ticket/18430).