Sam Allardyce was pleased to get his first win as Sunderland manager after they came out on top in the Wear-Tyne derby.