common_nums sorting fixed