^ Wouldn’t law schools consider the source of the grades? For instance, an MIT grad applying to law school (yes, there are some) might be viewed differently from a graduate of a lesser known or lesser reputable college, even if the latter has a higher GPA. Also, what you major in might be taken into account; STEM GPA’s are very likely to be lower than those with a large concentration of humanities courses. But STEM-trained attorneys might be more inclined to pursue the really tough subjects like intellectual property. Wouldn’t they be shut out of this opportunity at the best schools if it’s just about GPA?
Med school might be a different story because the pre-med curriculum has become so standardized now. But even so, I’d think that someone who gets A-/B+ in a ton of honors and other advanced-track courses might be demonstrating something different in comparison to a straight-A student who never strayed off the regular track. The latter may not have been willing to take any risks or perhaps was more more interested in the grade than the subject. Who might be the more engaging, inquisitive med student?