Fruit Shelf Sort