N

#### nick

Is there anyone who can help in finishing this problem?

Iâ€™m checking a huge text file for some data, there are lots of lines

where some of

these lines lets say start with the word "comp". i need only to check

these

lines starting with comp and ignore the others.

Let's say we have: inputA, inputB.

ex:

...

...

...

comp "inputA[4]" ... = ...."p25";

comp "inputB[3]" ... = ...."f32";

comp "inputA[5]" ... = ...."f45";

comp "inputA[1]" ... = ...."g234";

comp "inputA[3]" ... = ...."p65";

comp "inputB[0]" ... = ...."p23";

comp "inputB[1]" ... = ...."g54";

...

...

...

...

Now it should print the numbers/letters between the second quotations

but in a

certain order as follows:

First it has to follow the above pattern i.e: inputA then inputB and

sort their value (desending) .

So basically the answer should look like:

The value of :inputA[4] inputA[3] inputA[2] inputA[1] inputA[0]

inputB[4]â€¦....inputB[0]

Here in this case the final output should look like: f45 p25 p65 ..

g234 .. f32

...954 p23

Any help will be appreciated.

I couldn't have it to work properly, it prints them randomly ïŒ