Is a corner stone the second or first stone in the construction?

A corner stone is the first stone in construction. This stone is important due to the fact that all of the other stones will be applied in reference to this stone.