Sort vfile messages by line/column.
npm:
npm install vfile-sort
var vfile = require('vfile');
var sort = require('vfile-sort');
var file = vfile();
file.message('Error!', {line: 3, column: 1});
file.message('Another!', {line: 2, column: 2});
sort(file);
console.log(file.messages.map(String));
//=> ['2:2: Another!', '3:1: Error!']
Sort messages in the given vfile.