The full names of all candidates nominated shall be printed on the official ballot without party designation. If two candidates with the same surname, or with names so similar as to be likely to cause confusion are nominated, the addresses of their places of residence shall be placed below their names on the ballot. The names of all candidates shall be rotated on the ballot as provided by law. If voting machines are used, the names shall be rotated by precincts, as provided by law.