Simple number vector grouping