How to rotate a gltf model in a specific direction

This link is no longer valid.

As that SO answer was deleted 2 years ago by the author.