There are multiple objects of the same type, a b c
Each object has the same integer attribute a.click
Now we need to sort according to the numerical value of click (there may be duplicates),
Then take out the other member data in the object according to the sorting position of click
I have been thinking about it for a long time, how to implement it
Is this so?
Write an example:
Is this what you mean