What is the name of this coding algorithm
The states, when arranged in decreasing frequency, may be numbered according to a monotonic Gray Code. 

Although note that this montonic Gray code itself does not stipulate anything about the successive values representing a frequency of occurrence. It's just the name for sequences of increasing or decreasing weight, where weight is defined as the number of digits which are 1.