fixed acceptence test with null as parameter in sorter.

//M&M