Feature/mongo like sort

All tests working,

I guess there will be some case when it doesn't work or null exception / stack overflow is thrown. But only time will show that :P 

Also code needs some polish and adding some tests.