Thread:User talk:CodeCat/MewBot, sort keys, and tone numbers

I'm afraid that MewBot seems to be flummoxed by tone numbers in sort strings, as it goes through the (welcome) process of changing  into. It looks like all of the Mandarin sort strings that contain numbers are causing problems, where MewBot fails to simply swap  for   and instead drops out the existing sort string, oddly replacing it with. Examples include this edit and this edit, among many others.

I hope the fix is an easy one?