Fixed unittest and redid cci list sortby