an alternative way is to
- select all the input node minus the first node you want first, delete the nodes then cntrl z (undo)
- select all the input nodes minus the first and second, delete the nodes then undo
- select all the input nodes minus the first, second and third, delete the nodes then undo
- repeat as needed until all are in order.
same goes for output nodes
If you put all your input node into a group, then remove one by one from the group, meaning remove one node from the group, then delete the group, undo, remove the second node from group, delete the group, undo, remove the third node from the group and delete the group, you don’t a have to keep selecting all the node each time. and you can see the reorder of your nodes by pulling the removed node away from the group.