The sort=True/False option only controls whether each group key is
sorted or whether to use the observed order in the data. For example:
In [1]: s = Series(['d', 'c', 'd', 'c', 'b', 'a'])
In [2]: s.groupby(s).size()
Out[2]:
a 1
b 1
c 2
d 2
In [3]: s.groupby(s, sort=False).size()
Out[3]:
d 2
c 2
b 1
a 1
The keys are only descending in the last case because they first
appear in descending order in the data. I'm not opposed to different
iteration order options, but it would have to be "convince via pull
request".
- Wes