maxogden, I was thinking just to extend the object with the sorting function....