What's considerably more pythonic is a fresh object that extends the builtin sort list by subclassing it. That way the constructor can take an inventory or just about anything that behaves like a record, and the new instance behaves the same as an inventory. See Keith's solution down below which https://traumatherapygetreconnect01999.ageeksblog.com/35874473/not-known-factual-statements-about-trauma-therapy-get-reconnected-psychotherapy-120-eglinton-ave-e-toronto-on