using LlamaApp.HuggingFace;
namespace LlamaApp.Views
{
///
/// Pure ordering rules for the Recommended Models list — kept separate
/// from so they stay unit-testable, mirroring
/// .
///
public static class RecommendedOrdering
{
///
/// Featured families first, catalog order preserved within each group
/// (LINQ's OrderByDescending is stable). The catalog parses a
/// featured flag per family that previously drove nothing.
///
public static List OrderForDisplay(IEnumerable repos)
=> repos.OrderByDescending(r => r.Featured).ToList();
}
}