sort and scan-mongo