Added sorting for token domain