Jonathan M Davis: > The elements in a string are immutable. I don't see how the first twe sorts > _ever_ worked, unless it was a bug. Sorry, I meant that it used to work in D1: http://codepad.org/HYdNktNd Later I'll try some of your solutions. Bye, bearophile