Apartheid was a highly legislated racial pecking order, with whites at the top and Black Africans at the very bottom.