Alphagram
An alphagram of a word (or of any group of letters) consists of the word's letters arranged in alphabetical order. For example, the alphagram of alphagram is aaaghlmpr. Two words are anagrams of each other if and only if they have the same alphagram.