munishguptamg
Member • Mar 8, 2014
Program to sort data of file in java?
i have three files among which i have stored the following information:
---------------------------------------------------------------
File1.txt contains following:
101 Harry Amritsar Punjab
---------------------------------------------------------------
Flie2.txt contains following:
102 Max Chandigarh Punjab
101 Mac Panchkula Haryana
---------------------------------------------------------------
I want to pick data from both files and save them into a third file File.txt in soorted order.
the sorting can be by Id or by Name
---------------------------------------------------------------
File1.txt contains following:
101 Harry Amritsar Punjab
---------------------------------------------------------------
Flie2.txt contains following:
102 Max Chandigarh Punjab
101 Mac Panchkula Haryana
---------------------------------------------------------------
I want to pick data from both files and save them into a third file File.txt in soorted order.
the sorting can be by Id or by Name