put blocks in chronological order