//using Modules.Library.Domain.Entities;
//using System.Linq.Expressions;

//namespace Modules.Library.Domain.Utils;

//internal static class OrderUtil
//{
//    private static Expression<Func<IOrderableItem, ushort>> expr = (item) => item.Order;
//    private static ushort Func(IOrderableItem item) => item.Order;

//    internal static void SetItemOrder(IEnumerable<IOrderableItem> items, ushort lastOrder, ushort newOrder) =>
//        OrderBaseUtil<IOrderableItem>.SetItemOrder(items, lastOrder, newOrder, expr, Func);
//}