nvram_map_gen.awk uses rand() in its qsort implementation, to select the pivot. This results in non-deterministic output, presumably because one of the arrays has elements that compare identical but are in fact not.
A better fix may be to improve the comparison, so that no elements compare identical.
PR: 215422