What specifically do you do to plan out a development section in sonata form? Should the modulations and the order of the themes/fragments follow any sort of predesigned logic (other than 'mix them up')?  The keys that should be used are mainly what's bothering me, mostly because my modulations tend to sound forced to me, especially in the development section.