No need to delete/realloc
Cache list of keys per section

This makes it possible to traverse them in the same sequence they were
encountered.