function sortObjectsNumeric( objects, prop ){
    return objects.sort( function ( _a, _b ) {
        var a = +(_a[prop]);
        var b = +(_b[prop]);
        return (a < b) ? -1 : (a > b) ? 1 : 0;
    });
}
// NUMERICALLY sort an array of objects
NUMERICALLY sort an array of objects
NUMERICALLY sort an array of objects
function sortObjectsNumeric( objects, prop ){
    return objects.sort( function ( _a, _b ) {
        var a = +(_a[prop]);
        var b = +(_b[prop]);
        return (a < b) ? -1 : (a > b) ? 1 : 0;
    });
}
function sortObjectsNumeric ( objects , prop ) { return objects . sort ( function ( _a , _b ) { var a = + ( _a [ prop ] ) ; var b = + ( _b [ prop ] ) ; return ( a < b ) ? - 1 : ( a > b ) ? 1 : 0 ; } ) ; }
NUMERICALLY sort an array of objects
NUMERICALLY sort an array of objects