Browse Source

Feature:
- original sorting mode, not quite working

Stephen Damm 6 years ago
parent
commit
4ef0c2be81
1 changed files with 7 additions and 0 deletions
  1. 7 0
      SongBrowserPlugin/SongBrowser.cs

+ 7 - 0
SongBrowserPlugin/SongBrowser.cs

@@ -304,6 +304,13 @@ namespace SongBrowserPlugin
                         .OrderBy(x => _settings.favorites.Contains(x.levelId) == false).ThenBy(x => x.songName)
                         .ToList();
                     break;
+                case SongSortMode.Original:
+                    _log.Debug("Sorting list as original");
+                    songList = songList
+                        .AsQueryable()
+                        .OrderBy(x => x.levelId.Contains("level")).ThenBy(x => x.songName)
+                        .ToList();
+                    break;
                 case SongSortMode.Default:                    
                 default:
                     _log.Debug(  "Sorting list as default");