change show info of item based on sort type