How to show the last member level for expired members?

We have 12 membership levels and when a membership expires, we need to be able to let them renew back to the level they were before they expired.

We also need to know the last level so we can show it to admins in an admin column in the users list.

Can anyone point me in a direction to find the last level? This seems like something that should be stored and displayed by default in a member’s profile page.