changing the order of data to be less sensitive to numerical problems on different JVM JIRA: MATH-186