Use `TreeMap` instead of `HashMap` for consistent ordering of name table entries