Using just one motor and no programmable brick, this rare bird sits in a pond sorting bricks by size. Also look out for the duck!
How does it work? When the beak can close no further, power is transferred to turning the bird. If the beak closes on a larger brick, it will begin turning earlier, and thus turns further, before a crank pushes the bird into reverse. In reverse the bird drops the brick and then returns for another.
For anyone who wants to make one, just remember that the axel on which the bird turns is the stiffer black peg. A grey one would cause the bird to turn before picking up the brick. Also, by extending the neck and the length of the beak you can make a bird which will sort more sizes.