7UKECREAT0R_MCCompiledSource/mc-compiled/MCC/Functions/FunctionComparator.cs
using System.Collections.Generic;

namespace mc_compiled.MCC.Functions
{
    internal class FunctionComparator : Comparer<Function>
    {
        internal static readonly FunctionComparator Instance = new FunctionComparator();

        public override int Compare(Function x, Function y)
        {
            int a = x.Importance;
            int b = y.Importance;
            return b - a;
        }
    }
}
