code: func New(opts ...coptions.Opt) options.PeerSorter {
  	params := defaultParams()
  	coptions.Apply(params, opts)
  
  	sorter := &sorter{
  		params: params,
  	}
  
  	return func(peers []fab.Peer) []fab.Peer {
  		return sorter.Sort(peers)
  	}
  }
docs: // New returns a peer sorter that uses block height and the provided balancer to sort the peers.
  // This sorter uses a block-height-lag-threshold property which is the number of blocks from
  // the highest block of a group of peers that a peer can lag behind and still be considered to be
  // up-to-date. These peers are sorted using the given Balancer.
  // If a peer's block height falls behind this "lag" threshold then it will be demoted to a lower
  // priority list of peers which will be sorted according to block height.