get the items in rank order