# [NTG-context] Index confusion with first entry

```Hi, my index of locations shows a strange problem:

Hamburg 6, 12, 14, 24–25, 27, 31, 33, 35, 44, 46, 48, 57, 59, 64, 75, 79, 81,
93–94, 96, 102, 104–105, 108–110, 112, 116–118, 120, 121–125, 6, 126–135, 6,
137– 147, 149, 151–159, 161, 165, 168, 169–171, 174, 176, 178, 182, 207, 209,
211, 215–216, 219–220, 224, 240, 242–244, 291```
```
Page 6 is mentioned two times out of order. The problem doesn’t show at other
locations.

The first index entry (p.6) is made by
\startregister[locations][test]{Someplace}, second is Hamburg (single entry).
If I replace Hamburg with another town, the problem moves.
If I move the Hamburg entry in front of \startregister, it disappears!

I.e. if the first index entry is set by \startregister, the subsequent entry
gets confused.

I tried to come up with a MWE, but couldn’t reproduce the problem in a simple
example like

\starttext

\placeregister[index][criterium=all]

\startregister[index][test]{Knuth}
\input tufte
\index{Donald}
\page
\input knuth
\index{Donald}
\page
\stopregister[index][test]

\input darwin
\page

\dorecurse{5}{
\input knuth
\index{Knuth}\index{Donald}
\page
}

\stoptext

Hraban
___________________________________________________________________________________