Create a program that reads in the set of two values in the filep10data.txt and decodes them to print out a message on the screen.The first column of data contains the index value that you need tosort into order. The second column contains the message data. Besure to sort the pair of data at the same time. Then print toscreen the sorted values of column 2 to form the message. You mustuse arrays. Reference the Sort algorithm on pg 243, but modify itfor use with two terms.
codeblocks
program c
data to use
41 111
50 32
64 109
76 71
91 79
49 109
99 10
22 10
12 32
78 82
-65
OR
OR