Temporary fix for totals sorting problem in Magento