Issue 6834

Move console grouping repeat number to front of output