summaryrefslogtreecommitdiff
path: root/pokemontools/audio.py
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-12-08 17:19:38 -0500
committeryenatch <yenatch@gmail.com>2013-12-08 17:19:38 -0500
commit697e2fa2ade2face0756f17858057548071bf506 (patch)
tree6506d82ad0aca71bf3b59ee8e0d5431d27962f16 /pokemontools/audio.py
parenta401ebc620fdca69aab2ed8feb91fa696647b17c (diff)
audio: sort output by content
Diffstat (limited to 'pokemontools/audio.py')
-rw-r--r--pokemontools/audio.py2
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