Coventry City beat Sunderland to move out of the Premier League relegation zone. Sunderland remain at the bottom of the table.