Fixed duplicate ordering
Test case to simulate dup ordering