def get_formfield_labels(self):

            uuids = FormValue.objects.filter(
                submission__in=self,
            ).values('field_ident').distinct().order_by('field_node__path').values_list('field_ident', flat=True)

            ret = OrderedDict([
                ('created_at', ugettext('Created at')),
            ])
            for field_uuid in uuids:
                latest_value = FormValue.objects.filter(
                    field_ident=field_uuid,
                ).order_by('-submission__created_at', '-pk').select_related('field_node')[0]
                ret[field_uuid] = latest_value.get_label()
            return ret
Test that function expressions happen in the right time.
dataset/ETHPy150Open fusionbox/django-widgy/widgy/contrib/form_builder/models.py/FormSubmission.FormSubmissionQuerySet.get_formfield_labels--crossover with--dataset/ETHPy150Open mozilla/app-validator/tests/js/test_traversal.py/TestFunctionTraversal.test_function_expression_order