add sort tests