[Registry] Switch {:duplicate, :key} key_ets to ordered_set with composite keys
#15304
+297
−103