Sort atoms using Morton/Hilbert