updated sort tests