public void OrderYoutubeSongsByDuration() { this.youtubeSongOrderFunc = SortHelpers.GetOrderByDuration <YoutubeSong>(this.currentYoutubeSongDurationOrder); SortHelpers.InverseOrder(ref this.currentYoutubeSongDurationOrder); this.OnPropertyChanged(vm => vm.SelectableYoutubeSongs); }
public void OrderLocalSongsByDuration() { this.localSongOrderFunc = SortHelpers.GetOrderByDuration <Song>(this.currentLocalSongDurationOrder); SortHelpers.InverseOrder(ref this.currentLocalSongDurationOrder); this.OnPropertyChanged(vm => vm.SelectableLocalSongs); }