Ranking for making Project groups

Project is to be done in groups of 2 students. You can choose your group partner either within a rank of +/-5 ranks, or within a difference of +/-2 grade points. The top 5 and bottom 5 students have a double range (10 ranks or 4 grade points).