A practical joke type bed in which the bottom sheet is folded back upon itself, thereby making it impossible for the occupant to stretch out his or her legs.
The phrase is an Anglicised version of the French "nappé pliè" - a folded sheet. Apple pie order; probably from the same origin as "apple pie bed" (i.e. a folded sheet in French). Such sheets are neat and tidy.