There is no call for the past perfect in either sentence, Wai Wai. It can't work anyway because the verb phrase should be 'had already been', not 'had been already'. 'The best 5th student' is not natural English to me, and might be rewritten to read 'the fifth-best student'.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.