References weren't sorted if no specification given in get_svc_ref()

Using sorted(registry.keys()): could be optimized, if necessary