sort items in endpoint selection
update library path to match standard ps distribution
update library path, really
fixed dns lookup logic for dual-stack endpoints