Fixed sorting bug/error to put domains in version order
Fixed sorting bug in table UI, also made Version a sortable column