for i in range(int(input())):
    input()
    print(f'#{i + 1} ', end='')
    [print(t, end=' ') for t in sorted(map(int, input().split()))]
    print()

1b427da931ce5f24ba3da08bc96feca4b80aca30
<mask token>

for i in range(int(input())):
    input()
    print(f'#{i + 1} ', end='')
    [print(t, end=' ') for t in sorted(map(int, input().split()))]
    print()
