Fixed #22220, improved reverse() documention