Sorting in List view is not working correctly
The user has a list view and used a "Categorized By" option available in Organize tab and also selected Sort option. Now at run time while selecting sort option in one column, the columns after the selected column are automatically being sorted.
Steps to Reproduce
- Create one list view
- Select "Enable Sort" option
- Select "categorize by" option on any available column
- Save the list view
- Run the list view and sort one column in it, then you will get sorted values in the columns that are at right side of selected column
The reported behavior is expected and is as per design. On performing sort on a list view column, the corresponding group by columns will also be sorted. This can be observed in the query passed.
As list views and summary views are deprecated in the future versions of Pega, it is recommended to use Report Definition. Use Report Definition-backed Repeat Grids instead of Embedded List Views to take advantage of the latest HTML5 capabilities including cross-browser and cross-platform compatibility, access to the latest HTML markup, and improved performance.