sorting tests added