Sort term variation suggestions list

Minor bug fixes