added the ability to sort, and made the default sort as Item Key number