Convert null name types for sorting