registrations = (Map<String, Registration>) system.query(new GetRegistration());
List<Registration> registrationList = new ArrayList<Registration>(registrations.values());
MergeSortAlgorithm sortAlgorithm = new MergeSortAlgorithm();
sortAlgorithm.sortRegistrationByName(registrationList);
for (Registration registration : registrationList) {
final List<Parcel> parcels = registration.getParcels();
for (Parcel parcel : parcels) {
final GDDate parcelDate = new GDDate(parcel.getDate());