test: sort for stable result