create sort class and test unit