Sorting languages in pilot files