<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
Reorder an array such that sum of left half is not equal to sum of right half
Function to print the required reordering of the array if possible ; Sort the array in increasing order ; If all elements are equal , then it is not possible ; Else print the sorted array arr [ ] ; Driver Code ; Given array ; Function Call

<ASSISTANT_TASK:>
Python Code:
def printArr(arr , n ) : 
	 arr . sort() 
 if(arr[0 ] == arr[n - 1 ] ) : 
	 print("No ") 
  else : 
	 print("Yes ") 
 for i in range(n ) : 
	 print(arr[i ] , end = "▁ ") 
  print() 
   if __name__== ' __main __' : 
	 arr =[1 , 2 , 2 , 1 , 3 , 1 ] 
 N = len(arr ) 
 printArr(arr , N ) 
 
<END_TASK>
