Sort out codes by language