fixed merge output

. decades: IDs in ascending order or homog order (default)
. all: IDs in ascending order
. summary: ordinal numbers