All companies with stack ranking do some sort of merge sort to achieve this, typically called “calibration”. You have to rate employees at the team level because as you go up the chain, managers stop knowing how individuals more than one level of management below them perform.
The only viable exception to this I’ve seen is in organizations like sales where there’s some reasonable, objective criteria to evaluate an entire workforce on. Nothing good exists like this for software engineers though.