turned the small dev helper into a real check
factored out sortBoard() and changed some comments
introduced getSortedBoard() and getSolvedBoard()