def METHOD_NAME(self, request, to_be_serialized):
    to_be_serialized['objects'] = sorted(
        to_be_serialized['objects'],
        key=lambda bundle: bundle.data['modified'],
        reverse=True)
    return to_be_serialized