HIVE-8736 : add ordering to cbo_correctness to make result consistent (Sergey Shelukhin, reviewed by Laljo John Pullokkaran)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/branch-0.14@1636984 13f79535-47bb-0310-9956-ffa450edef68