|
@@ -262,6 +262,11 @@ $(document).ready(function() {
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ sortKeys = function (x) {
|
|
|
|
|
+ return x.addressCity.toLowerCase() + x.name.toLowerCase();
|
|
|
|
|
+ }
|
|
|
|
|
+ results.sort((a, b) => sortKeys(a).localeCompare(sortKeys(b)));
|
|
|
|
|
+
|
|
|
// ** Show the results for the current page
|
|
// ** Show the results for the current page
|
|
|
let index = 0;
|
|
let index = 0;
|
|
|
|
|
|