If the nullSortOrder is set to 1, the null and undefined values are always sorted at the end of the table regardless of the sort order of the column.
In comparison, if the nullSortOrder is set to -1, the null and undefined values are sorted at the end of the table (descending order) or the begining of the table (ascending order).
Describe the bug
If the nullSortOrder is set to 1, the null and undefined values are always sorted at the end of the table regardless of the sort order of the column. In comparison, if the nullSortOrder is set to -1, the null and undefined values are sorted at the end of the table (descending order) or the begining of the table (ascending order).
Reproducer
https://stackblitz.com/edit/primevue-3-vite-issue-template-f9icko?file=src%2FApp.vue
PrimeVue version
3.47.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
If the nullSortOrder is set to 1, the null values are sorted at the end of the table (ascending order) or the begining (descending order).