tools/mkgroupfile: help the cases of group.list in number order