Put checks in to verify that rows from postgres are sorted by ID.
We don't really need tags sorted by key, and it might make more efficient use of the index.