Sheffield Wednesday rose to ninth in the Championship table with an entertaining 4-2 win over Derby County - with skipper Barry Bannan watching the final moments of the game from the bench.