In wordpress, tags are sorted in alphabetical manner. If you want to change sorting (order) of tags based on added position of tag into post.

You need to change following file for that:-
wp-includes/taxonomy.php  (Line no:-1972)

Add below code after above code:-

 

Issue Fixed By: Sunil Patel