added format of internal sort parameter in mongodb database implementations