Thanks very much for posting, it is a very helpful link.
Thank you radu². Until I read your answer I though that the comparator was for the table, not the columns.... (and don't know why I thought that!).
I'll have a look, and give a feed back (next week unfortunately).