Added tests for orderColumns and orderRows