Fixed sorting tests by converting to timestamp before. All migration tests running again!