fix for percentage sorting