getUserIdentitiesStartingWith() now returns a SortedSet of identities