Move comparator for priority queue of moves written