work on issue #29 (done set elements ordering)