difference between the LM1117-5 IC packages
There is a large table covering package codes at the end of the datasheet.

From a quick glance, it appears that "DT" parts are TO-252 and "MP" are SOT-223.  The "X" indicates the parts are supplied on tape-and-reel with 2500 parts per reel.  Non-"X" parts are supplied in plastic rails containing 75 parts.  The "I" indicates industrial temperature range.

I leave further decoding to the student.