Need to change sorting order up/down tab product add/edit from admin catalog product.
One of the possible solution to sort these
Groups, you need to go to
Stores -> Attribute Set in admin panel.
attribute set which is set right now on the
product which you are checking. It may be like this
Drag & Drop the Group which you want to sort in whatever position.
I hope this will help