if the 2nd pic is after clicking organise, it’s based on alphabetical order. so strange doll Green, strange doll Yellow.
speedysam0 on
they probably have the same name or identifier for sorting with the difference(doll color) being in the data that doesn’t effect the sort so when the sort is comparing values it ends up putting the second item with the same identifier first each time.
3 Comments
if the 2nd pic is after clicking organise, it’s based on alphabetical order. so strange doll Green, strange doll Yellow.
they probably have the same name or identifier for sorting with the difference(doll color) being in the data that doesn’t effect the sort so when the sort is comparing values it ends up putting the second item with the same identifier first each time.
It’s because the dolls are identical to the organizing algorithm, and the organizing algorithm isn’t [“stable”](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability)