iRate is an application that assigns a point value to each of your tracks based on Play Count, Rating, and how long the track has been in your library. The rating it computes is then written to the track's Comment field, thus allowing you to sort by iRate rating. Read Me explains all.
Designated as a Retro Script because: Apparently has trouble with later Mac OS and iTunes (note the app's age). Not recommended for use.
OBLIGATORY WARNING! Because this script has been designated as a "Retro Script" there is no guarantee that it will function as described and may even corrupt or destroy data.