Fix missing scope on order by clause. closes #97