Skip to content

Commit

Permalink
* sort the list case-insensitively
Browse files Browse the repository at this point in the history
  • Loading branch information
DisposaBoy committed Jul 20, 2012
1 parent 4d1a97b commit e8f72b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gsdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ def run(self):
for dir, fn in dirs.iteritems():
if not m.get(dir):
m[dir] = fn
ents = sorted(m.keys())
ents = m.keys()
if ents:
ents.sort(key = lambda a: a.lower())
def cb(i):
if i >= 0:
fn = m[ents[i]]
Expand Down

0 comments on commit e8f72b1

Please sign in to comment.