[ANALYZER-2259] Changes to consume sortType from options