Author: Michael Lynch <git@mtlynch.io>
Committer: Michael Lynch <mtlynch@noreply.codeberg.org>
Deduplicate grocery list view-model shaping (#22) Extract one shared helper for splitting and sorting grocery vs cart items. This prevents drift between index and list fragment rendering paths and simplifies future sorting changes. Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/22 Co-authored-by: Michael Lynch <git@mtlynch.io> Co-committed-by: Michael Lynch <git@mtlynch.io>