sorting for grains
make times editable