Fixed stupid JS int-->string issue when sorting.