Hrrm. I'd actually recommend using "ditemid" for the key instead of "number", because "number" makes me think of something that "position" is probably for.