cleaning output and ordering of item based recommendations