My approach is a little different but probably more future proof, in case of adding new tabs later on and changing the priority/order of these tabs. I passed an ...
Re: Rearranging Product page tabs. Hello @kanratech ,. You can change the order of tab by changing it in theme also.
Try taking that code out the product.info.details referenceBlock. This is my code which is working as intended: