Great, although I was sorting on a function that returned the content of the whole memo field. I changed it to the 10 left most chars, and it seems to work.

Thanks both of you!