Reordered coordinate logging: now follows X-Y-Z instead of X-Z-Y