Magnetic Quantum Number for d,p-orbitals

In DMol3, when printing the eigenvectors the d orbitals are designated d-2, d-1, d 0, d 1, d 2. How does this correlate with the orbitals along the cartesian axes designated

dxy, dyz, dzx, dx2-y2, and dz2. Any guidance on how this is handled in DMol3 would be greatly appreciated. Thanks