How to Fix Pivot Table and Slicer Ignoring Custom Sort Order
Question details
The user needs a pivot table and slicer to sort dates chronologically followed by a specific text value, but the custom list and helper columns are being ignored.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Sorting an attrition tracker containing mixed data types (dates and a 'still working' text status) within a pivot table and slicer.
- Observed behavior
- The pivot table and slicer fail to consistently apply the custom sort list or the numeric helper field, resulting in data displayed in the wrong order.
Ensure that your date fields contain valid, properly formatted date values rather than text strings, as mixed data types can override custom sorting logic.
Enable Custom Lists and Verify Data Types
Ensure your pivot table is explicitly configured to use custom lists and that your dates are formatted as real dates.
Pivot tables group different data types (like numbers and text) separately by default. A custom list can override this, provided the pivot table settings allow it and the source data is clean.
Highlight your date column in the source data, right-click, select 'Format Cells', and ensure it is set to a standard 'Date' format rather than 'Text'.
Right-click any item in your Pivot Table row labels and select 'Sort', then click 'More Sort Options'.
Click 'More Options' at the bottom of the Sort dialog box.
Uncheck 'Sort automatically every time the report is updated' if it is interfering, check the box for 'Use Custom Lists when sorting', and select your previously created custom list.

Use a Numeric Helper Column
Bypass custom list restrictions by adding a dedicated sort column to your source data to enforce a strict order.
Easily Manage and Sort Pivot Tables in WPS Spreadsheet
WPS Spreadsheet provides robust, highly customizable pivot tables fully compatible with Microsoft Excel. Easily build custom sort orders and manage mixed data types without complex workarounds.
- 1. Open your data file: Launch WPS Spreadsheet and open your tracker file.
- 2. Create a Pivot Table: Navigate to the 'Insert' tab, select 'PivotTable', and specify your source data range.
- 3. Build your report: Drag your fields into the Rows and Values areas within the PivotTable Fields pane.
- 4. Apply custom sorting: Right-click the row labels, choose 'Sort', and apply your custom sorting rules directly from the intuitive prompt.

Frequently Asked Questions
Why is my slicer sorting alphabetically instead of chronologically?
Slicers typically inherit the base formatting of the source column. If a column contains dates formatted as text, or a mix of dates and text strings, the slicer defaults to sorting everything alphabetically. Ensuring your data is strictly typed or using a numeric helper column resolves this.
How do I create a new custom list for sorting?
Go to File > Options > Advanced. Scroll down to the General section and click 'Edit Custom Lists'. From there, type out your desired list items in order (e.g., specific dates followed by 'still working') and click 'Add'.
Can a Pivot Table sort mixed data types like numbers and text together?
By default, a pivot table groups numeric values (including dates) first, followed by text values. To override this default hierarchy and blend them, you must either use a well-defined Custom List in the Pivot Table sort options or rely on a helper column to standardize the logic.




