organization and documentation

reorganized the common, program, and order files to make it easier to
find data types by putting them in alphabetical order. Added missing
documentation to data types.