Board Thread:Questions and Answers/@comment-27491885-20151228162741/@comment-27108700-20151228163026

One of Toby Fox's Tweets strongly suggests that Sans is the older brother.

Aniki is a japanese term used for older brothers, so saying that Papyrus would use it implies that Papyrus is the younger brother.