Fixed bug in orderRows and orderColumns methods.