Changed this._last to be this._tail (in line with terminology for linked...

... lists). Added 'sortedAdd' method to insert an element based on a sorting function passed. Move version up to 0.38.1.