From 06b862f5c3cad6795f918bd65a17a2beaafcd2ee Mon Sep 17 00:00:00 2001 From: Emory P Date: Wed, 5 Feb 2014 00:36:59 -0500 Subject: [PATCH] fixed incorrect sort order of indexes in getArtists --- api/browse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/browse.py b/api/browse.py index ebf279a..a4dc57c 100755 --- a/api/browse.py +++ b/api/browse.py @@ -136,7 +136,7 @@ def list_artists(): 'name': a.name, 'albumCount': a.albums } for a in v ] - } for k, v in indexes.iteritems() ] + } for k, v in sorted(indexes.iteritems()) ] } })