Remove slice method on notes (added upstream).
Show notes in sorted order correctly.

This bug was one of the reasons note order was so unstable. It turns out
that the second argument to indexOf is the search offset, not an initial
guess.
The index option was removed from add.