# `Cinder.Renderers.SortControls`
[🔗](https://github.com/sevenseacat/cinder/blob/v0.16.0/lib/cinder/renderers/sort_controls.ex#L1)

Shared sort controls component for List and Grid renderers.

Renders a button group for sorting since these layouts don't have table headers.

# `has_sortable_columns?`

Returns true if any columns are sortable.

# `render`

Renders sort controls as a button group.

## Required assigns
- `columns` - List of column definitions
- `sort_by` - Current sort state (list of {field, direction} tuples)
- `sort_label` - Label for the sort controls (e.g., "Sort by:")
- `theme` - Theme configuration map
- `myself` - LiveComponent reference for event targeting

## Optional assigns
- `loading` - Whether data is currently loading (defaults to `false`)

---

*Consult [api-reference.md](api-reference.md) for complete listing*
