Basically, what matters is your "position" in the cohort - your position is made up of your ranks and the relative gaps between you and everyone else. For a more detailed explanation, check out this link http://www.boardofstudies.nsw.edu.au/hsc-results/moderation.html