e.g. on https://beta.musicbrainz.org/work/create
All the children of "Identifiers" have child_order set to 0, the result should be that they're sorted alphabetically, but they're still ordered by id.
(NB. I'm fixing this also for allowed values for attribute types, so the next issue is going to be "Keys are now listed in alphabetical order". Tāla may follow, if the current ordering has a meaning.)
I have no idea about the taalas, but if it's wrong and anyone actually cares, they can let us know.
For keys, update work_attribute_type_allowed_value set child_order = id where work_attribute_type = 1; should fix it.
I ran the snippet from nikki on totoro just now.