Added the Sorter class

Sorts the moves from best to worst depending on wether it’s a min or
max node.
Made it recyclable to not have floating around 1k objects