reorder list by recrusive function
Merge pull request #6 from mainred/master

reorder list by recrusive function