class String;def d;downcase.tr('ё','е');end;end def g(s)s.chars.sort_by(&:d).joinend p g("еМиномЁтЙ")
Standard input is empty
"ЁЙМеимнот"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!