Add keep order feature

Keep the order as same as HTML structure