Switched from using sort to simply using insert in makeMovedBoard.