Jackson and Ordaz conjectured that if the stability number α(G) of a graph G is no greater than its connectivity κ(G) then G is pancyclic. Applying Ramsey's theorem we prove the pancyclicity of every graph G with κ(G) sufficiently large with respect to α(G).