function _sortReleasesByVersionNumber($a, $b)
    {
        if (version_compare($a['v'], $b['v'], '=')) {
            return 0;
        }

        if (version_compare($a['v'], $b['v'], '>')) {
            return -1;
        }

        if (version_compare($a['v'], $b['v'], '<')) {
            return 1;
        }
    }
function _sortReleasesByVersionNumber($a, $b)
    {
        if (version_compare($a['v'], $b['v'], '=')) {
            return 0;
        }

        if (version_compare($a['v'], $b['v'], '>')) {
            return -1;
        }

        if (version_compare($a['v'], $b['v'], '<')) {
            return 1;
        }
    }
function _sortReleasesByVersionNumber ( $ a , $ b ) { if ( version_compare ( $ a [ 'v' ] , $ b [ 'v' ] , '=' ) ) { return 0 ; } if ( version_compare ( $ a [ 'v' ] , $ b [ 'v' ] , '>' ) ) { return - 1 ; } if ( version_compare ( $ a [ 'v' ] , $ b [ 'v' ] , '<' ) ) { return 1 ; } }
Sort releases by version number

@access private
Sort releases by version number