When writing coordinates the order is normally latitude (Y) before longitude (X), note that this is opposite of the mathematical notation (X-Y) used by cartesian coordinate system. The positive direction of latitude and longitude is same as cartesian coordinate system.