public static int DescendingKPM(PlayerModel lhs, PlayerModel rhs)
{
if (lhs == null) {
return ((rhs == null) ? 0 : -1);
} else if (rhs == null) {
return ((lhs == null) ? 0 : 1);
}
double lKPM = (lhs.StatsVerified) ? lhs.KPM : lhs.KPMRound;
double rKPM = (rhs.StatsVerified) ? rhs.KPM : rhs.KPMRound;
if (lKPM < rKPM) return 1;
if (lKPM > rKPM) return -1;
return 0;
}