mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
Changed the order to its original order.
This commit is contained in:
parent
8228f7d7a1
commit
cc672b882a
@ -226,7 +226,7 @@ class Group(object):
|
||||
for (name, child) in self.children.items():
|
||||
if hasattr(child, 'value'):
|
||||
items.append((name, child))
|
||||
utils.sortBy(lambda (k, _): (len(k), k.lower(), k), items)
|
||||
utils.sortBy(lambda (k, _): (k.lower(), len(k), k), items)
|
||||
for (name, value) in items:
|
||||
L.append(('%s.%s' % (self.getName(), self.originals[name]), value))
|
||||
if getChildren:
|
||||
|
Loading…
Reference in New Issue
Block a user