I have list list myList which has over 12 million elements. myClass has two properties ie. "gt" and "gm". I want to find maximum "gt" elements and choose that has min "gm". forexample: let myList such as:(first column is gt other is gm)
4 1
5 2
7 1
8 3
4 3
2 2
8 7
1 7
8 2
I want to get the myClass element which has gt=8,gm=2. Where can I start?is sorting gt descending order an efficent way?