sort lib_format and lib_repo facets by index value