Conting inside factorize vs. groupsort