linq select distinct then order by a different property
问题 I have a table which contains many properties but I am focused on these. Each question has a set of answers and I need to graph each answer. The first step is to select which question then I return a list of answers. I need to select each distinct question and order it by the QOrder. <table> <tr> <td>Question</td> <td>ProjectId</td> <td>QOrder</td> </tr> <tr> <td>Q10. What is your favourite color?</td> <td>10</td> <td>1</td> </tr> <tr> <td>Q10. What is your favourite color?</td> <td>10</td>