stick sorting

link