The Bipartisan Policy Center has put together a presentation (.pdf) on the debt ceiling, and what prioritization would look like (via Stone Street Advisors).

These two charts show it all.

chart

chart