Restore proper layout in sort widget