In igx-grid,
When we apply sorting in ascending and descending order with dd-mm-yyyy format, so sorting is not working with actual date, month and year wise. and only apply date wise sorting.
When we apply sorting in ascending and descending order the date filed it is sorted by yyyy-mm-dd format and we display date in dd/MM/yyyy format on UI using pipe. So sorting is not working in this case.
If you haven't applied
[dataType]="'date'"to the grid column, then the type defaults tostringand column values will be sorted as strings. Add the correctdataTypeand sorting will work on the dates, regardless of formatting.