public IReportBuilder EnrichReport(IEnumerable <Player> players, IReportBuilder partialReport) { if (players == null) { throw new ArgumentNullException(nameof(players)); } if (partialReport == null) { throw new ArgumentNullException(nameof(partialReport)); } var sortedByPpg = players.OrderByDescending(p => p.PointsPerGame).ToList(); return(partialReport.WithPlayers(sortedByPpg)); }