quick refresher on decorate-sort-undecorate