From an unused root meaning to regulate; a row, i.e. Rank (of soldiers), story (of rooms)board, range.