Think I've fixed the score placing update, apparently sorting an index based on a score is easy to do but tricky to understand.