A New Jersey state judge ordered a school district to pay more than $800,000 in legal fees and fee enhancements in the case of a high school student who suffered bullying and assault based on his perceived sexual orientation.