unit test fix for meta=>sort