Enable natural sorting for song book searches

Bug #1280295 reported by Chris Hill on 2014-02-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Wishlist
Chris Hill

Bug Description

Windows 8.1 Pro / Windows Vista Business
OpenLP 2.0.4

We have a number of songs which have alphanumeric values for the 'Number' field (e.g. B23 or 119H - from our former praise supplement, and also the Praise! hymnbook published in the UK in the late 90s).

Currently viewing these songs via Media Manager / Songs / Song Books shows the songs in a random order - e.g.

A17
A5
F22
E5
(Screenshot attached)

If the song begins with a number, it is sorted correctly with the other songs, but not necessarily alphabetically - e.g.

111
112C
112A
112B
113

We would expect the above songs to appear in this order, if possible:

A5
A17
E5
F22

(hopefully the 111-113 example is obvious).

Could the sorting mechanism for song numbers be updated to take alphanumeric song numbers into account, please?

Related branches

Chris Hill (minkus) wrote :
Phill (phill-ridout) on 2014-11-21
summary: - Song Book view does not sort alphanumeric song numbers correctly
+ Enable natural sorting for song book searches
Changed in openlp:
importance: Undecided → Low
importance: Low → Wishlist
Chris Hill (minkus) on 2015-02-13
Changed in openlp:
assignee: nobody → Chris Hill (minkus)
Chris Hill (minkus) on 2015-02-13
Changed in openlp:
status: New → In Progress
Tim Bentley (trb143) on 2016-04-03
Changed in openlp:
milestone: none → 2.5.1
status: In Progress → Won't Fix
status: Won't Fix → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers