Add sorting to scores controller