SUMMARY
The Advanced Sorting feature is used to define a custom way in which the returned data is sorted and presented to the end user. Within the Advanced Sorting definition, the Criteria field needs to be set in some scenarios, and shows up when an object exists above or below the metrics. A scenario may exist where an end user can re-prompt a report, and the sorting definition appears to incorrectly sort based on its definition and the end user prompt answer.
DESCRIPTION
The Criteria Field:

The scenario in which an issue may be observed is if a report uses an object prompt for the report filter, and prompts the user to filter on a single element for a particular attribute. A sort definition is created with the initial prompt answer, and after re-prompting, the data still appears to be sorted even though the sort definition contains the original element, and the report no longer uses that particular element after re-prompting.
STEPS TO REPRODUCE




This appears strange because 2011 no longer exists in the report, as it was removed when re-prompting. The sort definition is defined on 2011, but applies to 2012.
VIDEO
CAUSE
There exists conditional logic in the Analytical Engine, which is working as follows:
This is why re-prompting from 2011 to 2012 still applies the sort – only one element exists for the same attribute whose criteria was used to define the metric sort.
ACTION
A few options may be considered:
These are but a few ways to address this conditional logic.
TO LEARN MORE
More information about Advanced Sorting can be found in the Advanced Reporting Guide product manual in Chapter 7: Designing Reports.
The Strategy Internal Reference Number for the issue discussed in this technical note is 992109.