Files
Stephan Renatus bfd984ddf9 format: make groupIterable sort by row
Before, it depended on the elements being passed in ordered by their rows.
Before https://github.com/open-policy-agent/opa/pull/3823, the iteration
order was the same as the row order; but with sorting the keys slice (which
determines iteration order) on creation, that was changed.

Now, we'll sort the elements within `groupIterable`.

Fixes #3849.

Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>
2021-10-04 13:04:47 +02:00
..