added test for order by clause, ref #90