For deck settings > Display Order > Review Sort Order: If set to Random it sets "Review Sort Order Code: 8" in the anki database. Its code should be "Review Sort Order Code: 7".
Setting this programaticaly outside Anki to 7 displays "Ascending Retrievabillity" in the UI but it actually is Random order. Affects PC & Android. Likely the other mappings are wrong.
either the backend logic is using the wrong code or the frontend logic is using the wrong code, but they are out of sync