Add  order attribute to items