shapeyieldmerge.py: better ordering of nicks