Assing medals to gems according to it's position on results list