From 4cfc21befda54eb99080e5c96744e3d46a16e1ef Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Mon, 28 Mar 2011 03:30:11 +0000 Subject: [PATCH] 0004693: sorted list in Book Report's "Available Books" window Patch from Paul Franklin. svn: r16960 --- 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): """