Why are Prince Andrew and Prince Edward above Princess Anne in the line of succession?

Princess Anne is older than both of them, yet both of them are above her in the line of succession. Why?
14 answers 14