Dishwasher doesn't clean well and now won't drain

Have 2 problems:

  1. Been having issues with it not cleaning well. It leaves small granular deposits like sand on most glassware and some dishes, also leaves small bits of food stucj to plates if they are too close together. I can’t have anything touching or I will get caked on debris. I cleaned out the sprayers a few times, this seems to help a bit, but regularly some of the holes get clogged with bits of food. I don’t think I should have to wash my dishes before putting them in there.

  2. Did a rinse cycle today and it left an inch of water on the bottom.

any suggestions for these problems? Thanks.