diff --git a/MosswartMassacre/ViewXML/mainViewTabbed.xml b/MosswartMassacre/ViewXML/mainViewTabbed.xml index 111e4fd..fdd5ed7 100644 --- a/MosswartMassacre/ViewXML/mainViewTabbed.xml +++ b/MosswartMassacre/ViewXML/mainViewTabbed.xml @@ -156,7 +156,7 @@ - + diff --git a/MosswartMassacre/Views/VVSTabbedMainView.cs b/MosswartMassacre/Views/VVSTabbedMainView.cs index f1201dc..97a5a3b 100644 --- a/MosswartMassacre/Views/VVSTabbedMainView.cs +++ b/MosswartMassacre/Views/VVSTabbedMainView.cs @@ -1432,7 +1432,13 @@ namespace MosswartMassacre.Views } lstMetasFiles.ClearRows(); - var files = ApplyMetasSearch(MetaSyncManager.GetCachedFiles()); + var files = ApplyMetasSearch(MetaSyncManager.GetCachedFiles()) + .OrderBy(f => f.Status == MetaFileSyncStatus.NotDownloaded ? 0 + : f.Status == MetaFileSyncStatus.UpdateAvailable ? 1 + : f.Status == MetaFileSyncStatus.Error ? 2 + : 3) + .ThenBy(f => f.RelativePath, StringComparer.OrdinalIgnoreCase) + .ToList(); if (files == null || files.Count == 0) { diff --git a/MosswartMassacre/bin/Release/MosswartMassacre.dll b/MosswartMassacre/bin/Release/MosswartMassacre.dll index 5148b02..5486bea 100644 Binary files a/MosswartMassacre/bin/Release/MosswartMassacre.dll and b/MosswartMassacre/bin/Release/MosswartMassacre.dll differ