An example is not a spec. It may be enough to start the conversation, but it is a LONG way from defining what needs to be done. It is not clear if you are sorting the list of inputs alphabetically, if English must always come first (what if instead of Hindi it was Arabic - should English still come first?), if the first language listed should come first, or something else entirely.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors