diff --git a/proto.js b/proto.js index 94a1820..5ea5961 100644 --- a/proto.js +++ b/proto.js @@ -116,7 +116,7 @@ Object.defineProperty(Array.prototype, "pt", { Object.defineProperties(PointArray.prototype, { sort: { value: function(func = (a, b) => a.readingOrderCompare(b)) { - this.sort(func) + return this.sort(func) } }, includes: {