fixed bug in the sortCheck-Method