Sort language codes in tag value