When used Splunk Java SDK extract the data from a search, Splunk automatically sorts the results based on the alphabet order of the fields. Is it possible to turn off the auto sorting so that we can keep the fields order from initial search? Thanks.
Found an answer,just have a look on it:
https://answers.splunk.com/answers/495132/how-to-preserve-order-of-json-array-in-search-resu.html