diff --git a/src/app/modules/songs/song/song.component.ts b/src/app/modules/songs/song/song.component.ts index 2f526d4..6df56cf 100644 --- a/src/app/modules/songs/song/song.component.ts +++ b/src/app/modules/songs/song/song.component.ts @@ -25,7 +25,7 @@ export class SongComponent implements OnInit { public faEdit = faEdit; public faDelete = faTrash; public faFileCirclePlus = faFileCirclePlus; - public privateShows$ = this.showService.list$().pipe(map(show => show.filter(_ => !_.published))); + public privateShows$ = this.showService.list$().pipe(map(show => show.filter(_ => !_.published).sort((a, b) => b.date.toMillis() - a.date.toMillis()))); public constructor( private activatedRoute: ActivatedRoute,