rax_value_oset_get_enum_sorted

void *rax_value_oset_get_enum_sorted(u_rax_value_t oset,
 rax_type_t oset_type);
 

Create a set enumerator that will return set elements in the order of this set.

Example: 

    void *e;
    u_rax_value_t v;

    e = rax_value_oset_get_enum_sorted(oset, t_oset);
    while (rax_value_oset_next_value_new(&e, &v)) {
      // Do something with v
      // ..
      // Remember to drop v after every iteration
      rax_value_drop(&v, rax_type_oset_element_type_ref(t_oset));
    }
    rax_value_oset_enum_drop(&e);