[pyicu-dev] Sorting with keys

Michael Gardner gardnermj at gmail.com
Thu Apr 23 06:01:51 PDT 2009


I'd like to use PyICU to generate keys for sorting lists. I tried doing
something like foo.sort(key=collator.getCollationKey), but I got a
NotImplementedError. Is there a way to use PyICU to do this? I notice
there's no wrapper for Collator.getSortKey(); would that do the trick?

Thanks,
Michael


More information about the pyicu-dev mailing list