Normalise array order after curl.