sort tests work