Get the sum of multiplication of string value and their order.