TaskStatus enum which implements the HasLabel contract. In this enum I've defined an orderedLabels() method to return an array of enum cases ordered by the corresponding labels. TextColumn::make('task_status_id')
->label('Status')
->sortable()
->badge(), sortable() method of the TextColumn which allows me to specify how to order the enum (as it currently orders by the task_status_id DB table field, an integer, which corresponds to an int-backed enum case).