change the order when push the result in