Combine Bob’s Red Mill Sorghum Grain, ½ tsp salt, and 4 cups of water in a medium pot. Bring to a boil then reduce heat and simmer, partially covered, until grains are soft, about 90 minutes. (Soaking overnight in water to cover will shorten the cooking time.) When grains have softened, drain off all cooking liquid and allow to cool while the rest of the filling is assembled.
Preheat oven to 350°F. Whisk granulated sugar and eggs in a large bowl until light and fluffy, about 5 minutes with an electric mixer on medium speed. Meanwhile, combine cornstarch, cinnamon, and salt and mix until evenly combined.
In a large bowl, mix together cornstarch mixture, ricotta, orange zest, candied orange peel (if using), vanilla extract, and orange flower water or orange extract. Add to egg mixture and mix until combined, about 2 minutes. Fold in cooked and cooled sorghum grains.
Pour filling into prepared pie shell and top with a lattice crust if desired. Bake until filling is puffed, golden, and set, about 90 minutes. Let cool completely before serving. Pie is better when chilled overnight and served at room temperature.