Github user NamanRastogi commented on the issue:
https://github.com/apache/carbondata/pull/3029
@qiuchenjian We dont need a parameter to control to control whether to sort
the data or not while compacting. The sole purpose of compaction is to improve
subsequent query performance, and even though the compaction gets slow, it is
doing what is intended.---
