parsePlaylistSort(value: string | null): PlaylistSort
Returns the order a ?sort= names, the default one when it is missing or
names none: like a page number, an order never fails a list.
parsePlaylistSort(value: string | null): PlaylistSort
Returns the order a ?sort= names, the default one when it is missing or
names none: like a page number, an order never fails a list.
import { parsePlaylistSort } from "shared/playlist.ts";