Guarantee that `GetServiceReferences()` returns a sorted list according to rank.
Guarantee that
GetServiceReferences()returns a sorted list according to rank.