moved the expected sorted cube into the sort service test function