The National Hockey League was the first professional sport league to include a ban on discriminatory behaviors based on sexuality in its player contracts.