Moved setOrder('name'...) before setOrder(getCurrentOrder()...)