Almost working :/ but sorted the "stats"