Skip to content

Commit

Permalink
Sorted.
Browse files Browse the repository at this point in the history
  • Loading branch information
Webreaper committed Apr 22, 2021
1 parent dcb36e5 commit e3e32a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Damselfly.Web/Shared/Images/TagAutoComplete.razor
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
// closest matches to the start of the string come first.
return results.Union(new List<string> { searchText }, StringComparer.OrdinalIgnoreCase)
.OrderBy( x => x.ToUpper().IndexOf( searchText.ToUpper() ) )
.ThenBy( x => x );
.ThenBy( x => x, StringComparer.OrdinalIgnoreCase );
}

return new List<string>();
Expand Down

0 comments on commit e3e32a0

Please sign in to comment.