added sorting tests to other files that should perform them.