Sort:  

I struggled with that too, and found a solution. Hope it helps you as well, or just wait till my pull request gets merged.