Jehoiarib was the first one whose name was selected by casting lots/throwing marked stones. Next Jedaiah was selected.