Sorts cellar by phone or text (10)
I believe the answer is:
typescript
'sorts cellar by phone' is the definition.
I can't judge whether this defines the answer.
'or text' is the wordplay.
'or' becomes 'type' (I am not sure about this - if you are sure you should give a lot more credence to this answer).
'text' becomes 'script' (I've seen this before).
'type'+'script'='TYPESCRIPT'
(Other definitions for typescript that I've seen before include "Lines" , "printed document" , "printed copy" .)