I have two lists { 7 3 5 } and {9 8 1}.
I want to sort my first list and I want the second list to have the same index permutation as given by the first list.
{3 5 7} => {8 1 9}
Is it possible to do this in a single LINQ statement?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Sounds like you might want: