Get the order of elements right for Jenkins