Emmy-nominated writer and producer Eric Weinberg has been ordered to stand trial for rape and sexual assault by a Los Angeles judge.