show created first

This commit is contained in:
Alex Bezdieniezhnykh
2025-05-05 09:50:49 +03:00
parent 83e5eb04e3
commit f49c4e9d37
4 changed files with 33 additions and 24 deletions
+3 -1
View File
@@ -284,7 +284,9 @@ public partial class DatasetExplorer
SelectedAnnotations.Clear();
SelectedAnnotationDict.Clear();
var annotations = _annotationsDict[ExplorerEditor.CurrentAnnClass.YoloId];
foreach (var ann in annotations.OrderByDescending(x => x.Value.CreatedDate))
foreach (var ann in annotations
.OrderBy(x => x.Value.AnnotationStatus)
.ThenByDescending(x => x.Value.CreatedDate))
{
var annThumb = new AnnotationThumbnail(ann.Value);
SelectedAnnotations.Add(annThumb);