Paul Stevenson writes: > Ahh, thanks. Can anyone tell me how to figure out which instance of > sort is causing the problem. My edebug skills are nil. Oh, that's clever - the backtrace tells us from which function sort was called. This patch fixes my problem;