The documentation for the sort array filter says
Sorts the elements of an array by a given attribute of an element in the array.
Is this sorting operation stable, i.e. does it maintain the original order of elements with the same attribute value? Such a guarantee is extremely useful, however it is not mentioned anywhere.
I have done some experimentation, and so far this seems to be the case. Is this an implementation detail or can this be assumed in general? Either way, it should be clarified in the documentation.
The documentation for the
sortarray filter saysIs this sorting operation stable, i.e. does it maintain the original order of elements with the same attribute value? Such a guarantee is extremely useful, however it is not mentioned anywhere.
I have done some experimentation, and so far this seems to be the case. Is this an implementation detail or can this be assumed in general? Either way, it should be clarified in the documentation.