|
|
@@ -271,7 +271,7 @@ export default {
|
|
|
return data
|
|
|
},
|
|
|
|
|
|
- sort (a, b, order, sortStable) {
|
|
|
+ sort (a, b, order, sortStable, aPosition, bPosition) {
|
|
|
if (a === undefined || a === null) {
|
|
|
a = ''
|
|
|
}
|
|
|
@@ -280,8 +280,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
if (sortStable && a === b) {
|
|
|
- a = a._position
|
|
|
- b = b._position
|
|
|
+ a = aPosition
|
|
|
+ b = bPosition
|
|
|
}
|
|
|
|
|
|
// If both values are numeric, do a numeric comparison
|