The job of monarch is passed to sons. You only pass it to your daughter if you don't have a son.
Princess Anne is the Queen's second oldest child but she is only number nine in line to the throne.