Move logProbability after probability and before cumulativeProbability

This matches the order in the ContinuousDistribution interface
diff --git a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
index 292828c..4c22b8a 100644
--- a/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
+++ b/commons-statistics-distribution/src/main/java/org/apache/commons/statistics/distribution/DiscreteDistribution.java
@@ -25,19 +25,6 @@
 
     /**
      * For a random variable {@code X} whose values are distributed according
-     * to this distribution, this method returns {@code log(P(X = x))}, where
-     * {@code log} is the natural logarithm.
-     *
-     * @param x Point at which the PMF is evaluated.
-     * @return the logarithm of the value of the probability mass function at
-     * {@code x}.
-     */
-    default double logProbability(int x) {
-        return Math.log(probability(x));
-    }
-
-    /**
-     * For a random variable {@code X} whose values are distributed according
      * to this distribution, this method returns {@code P(X = x)}.
      * In other words, this method represents the probability mass function (PMF)
      * for the distribution.
@@ -62,6 +49,19 @@
 
     /**
      * For a random variable {@code X} whose values are distributed according
+     * to this distribution, this method returns {@code log(P(X = x))}, where
+     * {@code log} is the natural logarithm.
+     *
+     * @param x Point at which the PMF is evaluated.
+     * @return the logarithm of the value of the probability mass function at
+     * {@code x}.
+     */
+    default double logProbability(int x) {
+        return Math.log(probability(x));
+    }
+
+    /**
+     * For a random variable {@code X} whose values are distributed according
      * to this distribution, this method returns {@code P(X <= x)}.
      * In other, words, this method represents the (cumulative) distribution
      * function (CDF) for this distribution.