namespace ZB.MOM.WW.ScadaBridge.Commons.Types.Enums;

/// <summary>
/// Direction for a sibling reorder operation. Ordering is ascending by
/// <c>SortOrder</c>, so <see cref="Up"/> moves an item toward a lower sort
/// order (earlier in the list) and <see cref="Down"/> toward a higher sort
/// order (later in the list).
/// </summary>
public enum ReorderDirection
{
    /// <summary>Move toward a lower sort order (swap with the previous sibling).</summary>
    Up,

    /// <summary>Move toward a higher sort order (swap with the next sibling).</summary>
    Down
}
