sequence.sortBy: pass index as second argument to key function
added sequence::dedupe