* Gradient stops given out of order in automation JSON sample as if in order
Opacity stops of the plain form, and colour and opacity stops of the typed form, are sorted by position (stably) when coerced, as the plain form's colour stops already were.
* Gradient stops at positions 0 and -0 keep the order they were given in
The stop sort used total_cmp, which puts -0.0 before 0.0 although both are
the same position, so a stable sort reordered such stops. Compare equal
positions as equal, for colour and opacity stops in the plain and typed forms.