decode

Returns a valid DocumentOrderByEnum for data, null otherwise.