diff --git a/assets/js/admin/settings-views-html-settings-tax.js b/assets/js/admin/settings-views-html-settings-tax.js index 63c4df42319..4befdcc2704 100644 --- a/assets/js/admin/settings-views-html-settings-tax.js +++ b/assets/js/admin/settings-views-html-settings-tax.js @@ -74,7 +74,9 @@ } ); } - rates = _.sortBy( rates, 'tax_rate_order' ); + rates = _.sortBy( rates, function( rate ) { + return parseInt( rate.tax_rate_order, 10 ); + } ); return rates; }