A triangle has vertices at coordinates $(1, 2), (7, 10)$ and $(1, 12)$. What is the number of units in the length of the shortest side of the triangle?