I have a list of parameters:
List<double> parameters = new List<double>() { 3.56, 8.9, 1.7, 0.5, 4.69 };
And a list of generic objects:
List<object> objects= new List<object>() { objA, objB, objC, objD, objE };
How can I sort "objects" list accordingly with the sorting of "parameters" list?
objectgoes withdoubleand vice versa? Currently it doesn't make sense, ifobjAshould go with8.9per say, then why isn't this relationship established in a way we could sort the list? Currently this question is lacking details for us to help you, please update.How can I sort "objects" accordingly with the values of "parameters" ?, what are we sorting? If we sortobjects, based on what exactly, then how do we know what index they go on inparameters?parametersobject would need changed to match theobjectslist wouldn't it? If that's the case, how do we do that?