code: def reorder_translation_formset_by_language_code(inline_admin_form):
      
      lang_to_form = dict([(form.form.initial['language_id'], form)
                           for form in inline_admin_form])
      return [lang_to_form[language_code] for language_code in
          get_language_code_list()]
docs: Shuffle the forms in the formset of multilingual model in the
      order of their language_ids.