function labelSorter(a, b) {
    if(a.name !== b.name) return a.name > b.name ? 1 : -1;
    if(a.num !== b.num) return a.num > b.num ? 1 : -1;
    return a.order - b.order;
}
@param {object} expectation
 - nums {string || array of strings}
 - name {string || array of strings}
 - axis {string}
 - vOrder {array of number}
 - hOrder {array of number}
 - isRotated {boolean}
@param {string} msg