Yes this could be hard, I guess in the future we could have a SortByCmp or something.