Adding patch for the taxonomy term ordering.

Relate to issue #1569