Luski.Net/Luski.net/Classes/RoleComparer.cs

13 lines
258 B
C#
Raw Permalink Normal View History

using System.Collections;
using System.Collections.Generic;
using Luski.net.Structures.Public;
namespace Luski.net.Classes;
public class RoleComparer : IComparer<Role>
{
public int Compare(Role x, Role y)
{
return y.Index - x.Index;
}
}