The code now determines the lat/long column order