College Class Ranking for Transfers

Hi everyone

Hope I’m not repeating a thread here. Does anyone know how college class ranking works in general? Additionally, how does that impact one that’s transferring to a different college their junior year? Also how would that work for a CCC to transfer back to an old university they attended?