sorts correctly for ObjectId fields
Merge pull request #81 from krisb/sortUsingId

sorts correctly for ObjectId fields