Zoho Questions
Zoho Questions
4. Sort the rows based on the column key. Read the input from the file "input.tx
t" and write the output to the file "output.txt". the numbers are separated by t
ab.
input from file "input.txt":
12
23
34
45
66
67
69
34
-56
67
45
23
90
67
-2
4
6
77
33
22
76
7
56
89
33
2
12
41
-7
83
57
08
3
56
12
column
-2
12
-7
34
7
key: 3
4
23
83
-56
56
6
34
57
67
89
77
45
08
45
33
33
66
3
23
2
22
67
56
90
12
76
69
12
67
41
column
-7
-2
7
12
34
key: 1
83
4
56
23
-56
57
6
89
34
67
08
77
33
45
45
3
33
2
66
23
56
22
12
67
90
12
76
41
69
67