toDto

open override fun toDto(): List<Map<String, Any>>

Converts the sorter to a DTO.