def METHOD_NAME(request, serialized_filters):
    filter_forms = []
    serialized_filters.sort(key=operator.itemgetter('title'))
    # Any filter item with an id other than -1 is a category
    categories = [
        item for item in serialized_filters if item.get('id', -1) != -1
    ]
    for item in serialized_filters:
        # if the item has a filters object then create a form from the item
        if item.get('filters', []):
            filter_form = FilterForm(request.GET, data=item)
            if item['id'] == -1:
                filter_forms.insert(0, filter_form)
            else:
                filter_forms.append(filter_form)
    # if we have category items, create form filter for them
    if categories:
        item = {
            'title': 'Category',
            'filters': [{
                'title': 'Limit to',
                'type': 'checkbox',
                'name': 'categories',
                'choices': [[x.get('id', ''), x.get('title', '')] for x in categories]
            }]
        }
        filter_forms.insert(
            0,
            FilterForm(
                request.GET,
                data=item
            )
        )
    return filter_forms