I'm build a site that is not in English, but some of the data may contain English. When I sort lists, for example:
sort($tags, SORT_LOCALE_STRING);
English strings always come first (because Latin letters have the lowest ordinals in Unicode), even though my site is primarily for non-English speakers.
I would like to have a sort function that sorts the strings lexicographically in the same way as the standard PHP sort, but always puts English strings after all the non-English strings. Any ideas?