matadd uses default sort key
add test for matadd sortkey
fix doctest failures from changed sort key
Merge pull request #2252 from mrocklin/matadd-sort-key

matadd uses default sort key