From b2ea5452e8f0a1a8efe4a44d2b720e520982ee39 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 9 Sep 2004 01:56:05 +0000 Subject: [PATCH] fix SongUtil::SortSongPointerArrayBySectionName ordering --- stepmania/src/SongUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/SongUtil.cpp b/stepmania/src/SongUtil.cpp index 1bdd5a1a45..ee802051a8 100644 --- a/stepmania/src/SongUtil.cpp +++ b/stepmania/src/SongUtil.cpp @@ -34,7 +34,7 @@ CString SongUtil::MakeSortString( CString s ) { s.MakeUpper(); - // Make sure that non-alphanumeric characters are placed at the very end + // Make sure that non-alphanumeric strings are placed at the very end. if( s.size() > 0 ) { if( s[0] == '.' ) // ".59" @@ -336,7 +336,7 @@ void SongUtil::SortSongPointerArrayBySectionName( vector &arraySongPointe /* Make sure NUM comes first and OTHER comes last. */ if( val == "NUM" ) val = "0"; else if( val == "OTHER" ) val = "2"; - else val = "1" + val; + else val = "1" + MakeSortString(val); song_sort_val[arraySongPointers[i]] = val; }