Fixing Issue #2 with sorting by row id problem
Merge pull request #3 from pvshum/master

Fixing Issue #2 with sorting by row id problem