rows.sort(function(a, b) {
    var first = +a[0];
    var second = +b[0];
    if (first > second) return -1;
    if (first < second) return 1;