Does anyone know if it's possible to write an application that can reorder the tasks on the windows taskbar?

My other half likes to always have his Outlook task on the left, followed by IE then his other programs and keeps pestering me to write something to do this so that if I accidentally close Outlook, he doesn't have to reopen everything.

I know he's a bit anally retentive but does anyone have any ideas?