Order by in Linq

How do I have a order by on a UNION ?

Where do I add an orderby ?
var rsUnion = rsPunchTime.Union(rsPunchAccess);

Open in new window

Who is Participating?
MsShadowConnect With a Mentor Commented:
rsUnion = rsUnion.OrderBy(o=>o.PunchTime)
u2envy1Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.