Added ORDER BY (HIVE-6688)