bugfix: do not try to set items.cn_sort twice