the spec says:

> The sort is not necessarily stable (that is, elements that compare equal do not necessarily remain in their original order)

so, maybe implementations will keep the sort order with 0 but it's not guaranteed.