When multiple terms are imported (using the individual fields or the textarea), the terms are added alphabetically, and not in their order as they are added, so the user's desired order is lost. (If the user wanted the terms to be listed alphabetically, he could perform that ordering before importing them, or sort them alphabetically using the core Taxonomy module's functionality.)

Members fund testing for the Drupal project. Drupal Association Learn more


Taxoman’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Priority: Normal » Major

This is quite important, IMO.

mh86’s picture

Title: Terms added alphabetically, out of order » Add option to weight terms according to the input order
Category: bug » feature

I don't want to modify the term weight in that case. People expect it to be '0' when they add a new term.
Furthermore the core interface behaves the same way, e.g. you add A, C, B -> you get A, B, C. Still you can manually re-order them.

Nevertheless I can think of an additional option on the term add interface (e.g. a checkbox with either import alphabetically or in input order) and thus mark this issue as feature request.

lahode’s picture


Here is a tiny patch, that add the option to order the imported terms according to there initial order


IamOnStage’s picture

Patch works good for me, thank you!

interdruper’s picture

Status: Active » Reviewed & tested by the community

It works fine, thanks!