return new ArrayList<Record>();
}
Collections.sort(versions);
FieldTypes fieldTypes = typeManager.getFieldTypesSnapshot();
List<FieldType> fields = getFieldTypesFromNames(fieldTypes, fieldNames);
Long lowestRequestedVersion = versions.get(0);
Long highestRequestedVersion = versions.get(versions.size() - 1);
int numberOfVersionsToRetrieve = (int) (highestRequestedVersion - lowestRequestedVersion + 1);