From 2c6d14cfc8fbd68a2b942d255c5d283584e7aeaf Mon Sep 17 00:00:00 2001 From: Chris Blake Date: Mon, 8 Aug 2011 12:59:56 -0400 Subject: [PATCH] fixed bug #817674 'Export Song - Song list appears to be random order ' Fixes: https://launchpad.net/bugs/817674 --- openlp/plugins/songs/forms/songexportform.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openlp/plugins/songs/forms/songexportform.py b/openlp/plugins/songs/forms/songexportform.py index 3432c8846..1e86c74a1 100644 --- a/openlp/plugins/songs/forms/songexportform.py +++ b/openlp/plugins/songs/forms/songexportform.py @@ -249,6 +249,7 @@ class SongExportForm(OpenLPWizard): # Load the list of songs. Receiver.send_message(u'cursor_busy') songs = self.plugin.manager.get_all_objects(Song) + songs.sort(key=lambda custom: custom.title.lower()) for song in songs: authors = u', '.join([author.display_name for author in song.authors])