change default sorting of related names to a more natural

This commit is contained in:
David Halter
2013-01-04 14:46:42 +01:00
parent e50053aa46
commit 903626f4f9

View File

@@ -334,8 +334,7 @@ class Script(object):
else:
names.append(api_classes.RelatedName(d.names[-1], d))
return sorted(set(names), key=lambda x: (x.module_path, x.start_pos),
reverse=True)
return sorted(set(names), key=lambda x: (x.module_path, x.start_pos))
def get_in_function_call(self):
"""