Do both sentences mean the same thing?
- Please, would you order the papers by number?
- Please, would you sort the papers by number?
"Sort" and "order" are generally interchangeable, and in your example, they are perfect synonyms. The one difference is that "order" can only be used for things that actually have a pre-defined ordering, like alphabetical or numeric. I could ask you to sort buttons by color, but asking you to order them by color wouldn't make much sense.
An ordering also implies an overall structure where each item has a specific relationship to the items before and after it. At the post office, for example, they'll sort letters by their destination, in which case they only care about each letter's category but not its relationship to other letters. The postman may then order letters for his delivery route, in which case each letter's relationship to the others is important.
"Order" in this instance means "to arrange methodically", while "sort" means "to group methodically". Which is correct depends on your desired outcome. If you have a set of numbered papers that you wish to be arranged in numerical order, then "order" is correct. If you have a set of numbered papers that you wish to have grouped into categories according to the numbers, then "sort" is correct.
Ex, if your set of papers have the numbers {3, 5, 2, 1, 2, 5, 5, 4}
, then the result of "order" would be {1, 2, 2, 3, 4, 5, 5, 5}
, while the result of "sort" would be {3}, {5, 5, 5}, {2, 2}, {1}, {4}
.
That being said, "sort" is often used in place of "order", with situational context making the intent clear.
Yes, but "order" is techie-sounding, possibly because that's the verb SQL uses for sort: SELECT foo FROM bar ORDER BY foo