calculate sortable values for address field