Merge pull request #48 from mposolda/master

Sorting support in IDM