Fix sorting anatomical direction (for sagittal)