Correctly sort currencies with respect to locale

Sorting via strcmp leads to incorrect results in certain locales. Using
proper collation ensures the order will be correct.