decode

fun decode(data: Any?): DocumentSortByEnum?

Returns a valid DocumentSortByEnum for data, null otherwise.