Some work done on mongo sort.