changed MongoDB type name to Mongo.
fix bug with sorting.