Fix sort contacts test