If you're ranked first internally, and attain the highest external (final exam you're doing now) mark in your cohort, that will be your internal too. Thus, you will remain uninfluenced by your cohort.
The subjects which you're not first for, your internals will be influenced by your cohort...