<input>->sort(<keys>) (emitSortKeys): one key as is, several as a list