def dictSort(dlang, arr):
     a1 = []
     a2 = []
     for i in arr:
         if primaryHelper.isDictWord(dlang, i):
             a1.append(i)
         else:
             a2.append(i)
     return a1 + a2
 def dictSort(dlang, arr):
     a1 = []
     a2 = []
     for i in arr:
         if primaryHelper.isDictWord(dlang, i):
             a1.append(i)
         else:
             a2.append(i)
     return a1 + a2