To define what a series is, we must first define what a sequence $(A_n)_{n\in \Bbb N}$ is.
A sequence $(A_n)_{n\in \Bbb N}$ is a function $f$ with domain $\Bbb N$ such that $f(n)=A_n$ for each $n\in \Bbb N.$ So $(A_n)_{n\in \Bbb N}=(f(n))_{n\in \Bbb N}.$
And we define $\sum_{n=1}^{\infty}A_n=S$ to mean that $\lim_{n\to \infty}g(n)=S,$ where $g(n)=\sum_{j=1}^nA_j $for each $n\in \Bbb N.$
" Re-arranging the series" means taking a bijection $\psi:\Bbb N\to \Bbb N$ and defining a new sequence $(A_{\psi (n)})_{n\in \Bbb N}=(f(\psi(n)))_{n\in \Bbb N}.$
And then $\sum_{n=1}^{\infty}A_{\psi(n)}=T$ means that $\lim_{n\to \infty}h(n)=T,$ where $h(n)=\sum_{j=1}^nA_{\psi(j)}$ for each $n\in \Bbb N.$
The sequence $(A_n)_{n\in \Bbb N}$ is usually NOT the same sequence as $(A_{\psi(n)})_{n\in \Bbb N}.$
Note that a sequence is NOT the same thing as the set of all the terms of the sequence.
And note that unless $A_{\phi (n)}=A_n$ for every $n$ then we do NOT say that $\sum_n A_n$ and $\sum_n A_{\phi(n)}$ are the same series. That is the re-arranged series is generally a $different$ series.