Moved setOrder('name'...) *after* setOrder(getCurrentOrder()...)