Sort priorized languages as defined in the array

Also add russian and arabic to the common languages.

@jancborchardt 
#981