<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
Reorder the position of the words in alphabetical order
Function to print the ordering of words ; Creating list of words and assigning them index numbers ; Sort the list of words lexicographically ; Print the ordering ; Driver Code

<ASSISTANT_TASK:>
Python Code:
def reArrange(words , n ) : 
	 mp = { } 
 for i in range(n ) : 
	 mp[words[i ] ] = i + 1 
  words . sort() ; 
 for i in range(n ) : 
	 print(mp[words[i ] ] , end = "▁ ") 
   words =["live ", "place ", "travel ", "word ", "sky "] 
 n = len(words ) 
 reArrange(words , n ) ; 

<END_TASK>
