fix sorted collection emission