public void UpdateSortingDirection(DependencySortMode mode, DependencyComparer currentComparer)
            {
                if (mode != currentComparer.mode)
                {
                    m_Arrow.text = string.Empty;
                    return;
                }

                m_Arrow.text = currentComparer.ascending ? k_AscendingArrow : k_DescendingArrow;
            }
 void UpdateSortingMode(DependencySortMode newMode)
 {
     if (m_DependencyComparer.mode != newMode)
     {
         m_DependencyComparer.mode = newMode;
     }
     else
     {
         m_DependencyComparer.ascending = !m_DependencyComparer.ascending;
     }
     UpdateHeader();
     UpdateListSorting();
 }
 DependencyComparer(DependencySortMode mode, bool ascending)
 {
     this.ascending = ascending;
     this.mode      = mode;
 }