13 lines
258 B
C#
13 lines
258 B
C#
|
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;
|
||
|
}
|
||
|
}
|