Skip to main content

Module sorting

Module sorting 

Source
Expand description

Sorting helper functions for library items.

Functionsยง

sort_albums
Sorts albums by their titles alphabetically.
sort_albums_by_artist
Sorts albums by artist names alphabetically.
sort_albums_chronologically
Sorts albums by dates, falls back to sorting by titles alphabetically.
sort_artists
Sorts artists by names alphabetically.
sort_genres
Sorts genres by names alphabetically.
sort_playlists
Sorts playlists by titles alphabetically.
sort_tracks
Sorts tracks alphabetically by titles.
sort_tracks_by_album
Sorts tracks by album titles alphabetically.
sort_tracks_by_artist
Sorts tracks by artist names alphabetically.
sort_tracks_chronologically
Sorts tracks by dates, falls back to alphabetic title sorting.
sort_tracks_in_album
Sorts tracks by disc numbers, then track numbers, falls back to sorting by titles.