This article may be confusing or unclear to readers. Please help clarify the article. There might be a discussion about this on the talk page. (July 2013) (Learn how and when to remove this message) Schematic diagram of spaghetti sorting. The spaghetti can be sorted by removing them from the bundle on the table in the order they stick out. Spaghetti sort is a linear-time, analog algorithm for sort