# A question about alphabetical order (need answer fast)

**URL:** <https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665>\
**Category:** Factual Questions\
**Created:** [November 24, 2013, 6:28am UTC](https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665 "2013-11-24T06:28:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zebra](https://avatars.discourse-cdn.com/v4/letter/z/c0e974/32.png) [@Zebra](https://boards.straightdope.com/u/Zebra)\
**Post date:** [November 24, 2013, 6:28am UTC](https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665/1 "2013-11-24T06:28:48Z")

</div>

Here are two last names. Put them in alphabetical order.  
DePinho  
Dehaye

The P in the first name is capitalized but I believe it is not a separate word as in De Pinho. So it should go second. But if there is a space, it would be first. Correct?

---

<div class="post-metadata">

**Author:** ![Giles](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giles/32/60_2.png) [@Giles](https://boards.straightdope.com/u/Giles)\
**Post date:** [November 24, 2013, 6:40am UTC](https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665/2 "2013-11-24T06:40:33Z")

</div>

As written, “Dehaye” goes before “DePinho”. However, there are two different ways of treating words/phrases with spaces, usually called “letter by letter” (which ignores spaces) and “word by word” (which effectively files a space before the letter A). Typically, dictionaries use letter-by-letter filing, while library catalogues use word-by-word filing.

---

<div class="post-metadata">

**Author:** ![RealityChuck](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/realitychuck/32/195_2.png) [@RealityChuck](https://boards.straightdope.com/u/RealityChuck)\
**Post date:** [November 24, 2013, 1:49pm UTC](https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665/3 "2013-11-24T13:49:19Z")

</div>

Internal capitals are usually ignored, though internal spaces may not be. However, what you need to do is choose one system and stick to it.

---

<div class="post-metadata">

**Author:** ![OldGuy](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@OldGuy](https://boards.straightdope.com/u/OldGuy)\
**Post date:** [November 24, 2013, 6:15pm UTC](https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665/4 "2013-11-24T18:15:02Z")

</div>

Note also if you’re having a computer doing this, it may well consider capital and small letters different and, if it’s sorting in ASCII or related order, all capitals come before every lower case letter.

---

<div class="post-metadata">

**Author:** ![Chronos](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/chronos/32/134_2.png) [@Chronos](https://boards.straightdope.com/u/Chronos)\
**Post date:** [November 25, 2013, 4:34pm UTC](https://boards.straightdope.com/t/a-question-about-alphabetical-order-need-answer-fast/674665/5 "2013-11-25T16:34:23Z")

</div>

The behavior can also differ from one computer to another. I know that Mac and Windows differ in how they treat numerals; they might well also differ in how they treat capitalization.
