jxxcarlson / elm-search / Sort

sort : SortParam -> List (APITypes.Datum data) -> List (APITypes.Datum data)


type SortParam
    = Alpha Direction
    | DateTime Direction
    | Random Random.Seed


type Direction
    = Increasing
    | Decreasing