Added ability to sort by item attributes, crashes if iteminfo changed