public void Push(NodeEntry node)
        {
            var existingNode = nodeList.Find(x => x.Node.Label == node.Node.Label);

            if (existingNode != null)
            {
                existingNode.Priority = node.Priority;
            }
            else
            {
                Count++;
                nodeList.Add(node);
            }

            nodeList = nodeList.OrderBy(x => x.Priority).ToList();
        }
 private void Remove(NodeEntry node)
 {
     Count--;
     nodeList.Remove(node);
 }