From 76217f3af2b984faa787171cefe0ad15cf6fab5f Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 28 Mar 2011 03:26:21 +0000 Subject: [PATCH] 0004693: sorted list in Book Report's "Available Books" window Patch from Paul Franklin. svn: r16959 --- src/plugins/BookReport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index e32efbabb..e9b300536 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -412,8 +412,8 @@ class BookList(object): return self.bookmap[name] def get_book_names(self): - "Return a list of all the book names in the BookList" - return self.bookmap.keys() + "Return a list of all the book names in the BookList, sorted" + return sorted(self.bookmap.keys()) def set_book(self, name, book): """