diff --git a/components/Track.js b/components/Track.js index fd66522..5f928bb 100644 --- a/components/Track.js +++ b/components/Track.js @@ -40,6 +40,9 @@ const Track = ({ return filteredMembers; }); + artists = artists.sort((a,b) => (a.slug > b.slug) ? 1 : ((b.slug > a.slug) ? -1 : 0)); + languages = languages.sort((a,b) => (a.id > b.id) ? 1 : ((b.id > a.id) ? -1 : 0)); + return ( <>