Raheem Sterling says Manchester City knew it was going to be a tough trip to Crystal Palace so late in the season but praised his side's 3-1 win in the Premier League.