Hello, everyone
I have a model with hex elements, like below(model.png) :

I want to get this model's global stiffness matrix. for element stiffness matrix, I use the local coordinate like the coordinate.png show:

I ouput the ( node id, node coordinate, element id, node list of element) for get the global stiffness matrix. But it seems the local coordinate or the order of the node list of each element of hypermesh is different from mine. I don't know how to reorder the node list which I get from hypermesh.
The node list order Which I get from hypermesh is show in nodeListHypermesh.png. It seems is anti-clockwise.
<?xml version="1.0" encoding="UTF-8"?>
Thank you so much for your time. Any advice will be appreciated. (^_^)