sort results by expiration date. returns the certificate with expiration date in furthest in the future.