Display the result in correct order. Still have some problem with test3.
The actual result contains more than expected