Spreadsheet: allow multiple expansions; collapse on sort