An external adviser will handle workplace misconduct claims against judges at the NSW Supreme Court under a new policy implemented following allegations that former High Court justice Dyson Heydon sexually harassed six female associates during his time on the bench.