diff options
author | yenatch <yenatch@gmail.com> | 2013-12-08 17:19:38 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-12-08 17:19:38 -0500 |
commit | 697e2fa2ade2face0756f17858057548071bf506 (patch) | |
tree | 6506d82ad0aca71bf3b59ee8e0d5431d27962f16 | |
parent | a401ebc620fdca69aab2ed8feb91fa696647b17c (diff) |
audio: sort output by content
-rw-r--r-- | pokemontools/audio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pokemontools/audio.py b/pokemontools/audio.py index 38fd65f..0e7d375 100644 --- a/pokemontools/audio.py +++ b/pokemontools/audio.py @@ -26,7 +26,7 @@ conf = configuration.Config() def sort_asms(asms): """sort and remove duplicates from a list of tuples format (address, asm, last_address)""" - return sorted(set(asms), key=lambda (x,y,z):(x,z,not y.startswith(';'), ':' not in y)) + return sorted(set(asms), key=lambda (x,y,z):(x,z,not y.startswith(';'), ':' not in y, y)) class NybbleParam: size = 0.5 |