Now also available as a Google Chrome extension.
This script modifies the "Price" sorting on Discogs Marketplace pages to consider the gray & italicized total cost when sorting, instead of the bold & red pre-shipping cost. When actively sorting with this script, the name of the column will change from "Price" to "Total Price."
This script is also compatible with scripts that allow infinite loading, such as Discogs Enhancer and AutoPagerize.
Note that this script sorts all listings currently loaded on the page, but does not automatically pull in prices from any further results pages. Therefore, it's recommended to set Discogs to view 250 listings at a time.
The script also sorts items unavailable in your country to the bottom of the list, as these tend to appear cheaper due to the shipping cost not being tabulated.
Contact me with any questions/comments:
Thanks, Jon