mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Pull sort/compare utils from PrimeReact
This commit is contained in:
parent
c6cd944735
commit
4d6a272795
9 changed files with 55 additions and 32 deletions
|
@ -548,7 +548,7 @@ export default {
|
|||
|
||||
if (this.responsiveOptions && !this.isUnstyled) {
|
||||
let _responsiveOptions = [...this.responsiveOptions];
|
||||
const comparer = new Intl.Collator(undefined, { numeric: true }).compare;
|
||||
const comparer = ObjectUtils.localeComparator();
|
||||
|
||||
_responsiveOptions.sort((data1, data2) => {
|
||||
const value1 = data1.breakpoint;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue