Update Cart.php

order attributes by position instead of name
Merge pull request #2097 from Yahasana/patch-3

[-] FO:  order attributes by position instead of name