Using sort command I want to arrange each line, which is having two numbers, in ascending order.

Using sort command I want to arrange each line, which is having two numbers, in ascending order.

For example:

Contig1, 23, 35

Contig2, 52, 15

Contig3, 43, 20

Contig4, 58, 88

Contig5, 38, 61

The result should be

Contig1, 23, 35

Contig2, 15, 52

Contig3, 20, 43

Contig4, 58, 88

Contig5, 38, 61

I have tried :%sort! -n but its not working in the way which I want.

What product are you using?

I am using Vim editor