private void Update()
{
this.NotifyPropertyChanged(nameof(this.Name));
{
var tempList = new List<SignatureTreeViewModel>();
foreach (var item in _value.Children)
{
tempList.Add(new SignatureTreeViewModel(this, item));
}
tempList.Sort((x, y) =>
{
int c = x.Value.LinkItem.Signature.CompareTo(y.Value.LinkItem.Signature);
if (c != 0) return c;
return x.GetHashCode().CompareTo(y.GetHashCode());
});
_children.Clear();
_children.AddRange(tempList);
}
}