World number one Rafael Nadal beat Stanislas Wawrinka in straight sets to reach the semi-finals of the World Tour Finals, and remains number one even if Novak Djokovic wins the tournament.