Hill's system alphabetizes elements symbol or name?
Go straight to the original source, ON A SYSTEM OF INDEXING CHEMICAL LITERATURE; ADOPTED BY THE CLASSIFICATION DIVISION OF THE U. S. PATENT OFFICE, and you can see that Hill uses the element symbol to determine alphabetical order.

In your example $\ce{C5H8NNaO4}$ is correct.