Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Which is correct, "sort compares strings differently from awk", or "sort compares strings differently than awk", or both are bad, and I should rephrase it?
Neither wording is wrong. But, according to Google Books Ngram Viewer, differently from is more common than differently than—at least in writing.
Required, but never shown