merge language aware sorting