Show Previous Member Groups??

Hi Guys,

Sorry if this posted elsewhere - a quick search didn't bring up any relevant results.

Anyway, I'm trying to display all groups that a member has been part of. For example, if a member starts in group 1, he is sequentially upgraded to group 2 after 30 days and then group 3 and so on. If a member is in group 5, on one of my pages I would like to show a little widget with all the previous groups (1,2,3,4).

Thanks for the help!