config-policy: sort endpoints by creation time when finding target

1 job for creation-time in 2 minutes and 6 seconds
Status Job ID Name Coverage
  Test
passed #1148210
build

00:02:06