// LICENSE : MIT
"use strict";
export default function sortByLineColumn(messages) {
    // sort by line and column
    return messages.sort(function (a, b) {
        const lineDiff = a.line - b.line;
        if (lineDiff === 0) {
            return a.column - b.column;
        } else {
            return lineDiff;
        }
    });
}

@@ -24,16 +24,107 @@
 trict%22;%0A
+/**%0A * sort messages by line and column%0A * @param %7BArray%7D messages%0A * @returns %7BArray%7D%0A */%0A
 export d

add JSDoc