HIVE-7772: add sort and order q files