build/rekord.js
function()
  {
    var values = arguments;

    AP.unshift.apply( this, values );

    this.trigger( Collection.Events.Adds, [this, AP.slice.apply(values), 0] );

    this.sort( undefined, undefined, true );

    return this.length;
  }
function()
  {
    var values = arguments;

    AP.unshift.apply( this, values );

    this.trigger( Collection.Events.Adds, [this, AP.slice.apply(values), 0] );

    this.sort( undefined, undefined, true );

    return this.length;
  }
function ( ) { var values = arguments ; AP . unshift . apply ( this , values ) ; this . trigger ( Collection . Events . Adds , [ this , AP . slice . apply ( values ) , 0 ] ) ; this . sort ( undefined , undefined , true ) ; return this . length ; }
Adds one or more elements to the beginning of this collection - sorting the
collection if a comparator is set on this collection.

```javascript
var a = Rekord.collect(1, 2, 3, 4);
a.unshift( 5, 6, 7 ); // 7
a // [5, 6, 7, 1, 2, 3, 4]
```

@method
@memberof Rekord.Collection#
@param {...Any} value -
The values to add to this collection.
@return {Number} -
The new length of this collection.
@emits Rekord.Collection#adds
@emits Rekord.Collection#sort
Adds one or more elements to the beginning of this collection - sorting the collection if a comparator is set on this collection .