shuffle structure elements to cope with atr[0]