How do I add a second item to order by with this? I want to order by a goalsScored element too.
var theteams =
(from teams in xdoc.Descendants("team")
orderby (int)teams.Element("points") descending
select
new Team(teams.Element("teamID").Value,
(int)teams.Element("points"))
).Take(3);
but thenby doesn't seem to slot in to this query.