How is the Visa rank of the H1B sponsor decided?

Hi Friends,

I want to know how is the rank of the H1B sponsor decided?

I mean by the number of applications he puts forward every year, on the service he delivers or on the number of visas he gets approved?

Request to reply ASAP…