[backend] Order stock_items by id in stock_locations_spec to fix MySQL+PostgreSQL tests