How to sort list of cyrilic letters in flutter

Viewed 59

I have list of cyrilic letters and I want to sort list alphabetically.

List<String> lst = ['Oбувь', 'Автомобильные запчасти'];

when I use codeUnitAt with 'A' it returns 1040, but with 'O' returs 79. How can I solve it? I think that I can create custom Map for cyrilic alphabet, but at first I want to find other solutions.

2 Answers

The O in your string is not a cyrrilic O but a latin O. Try copying the following character to get a cyrillic O:

О
Related