this is my database
i want to sort ascending in 1 method for all the fields
if possible plzz supply a source code
i am working on different source code for each field now
the fields and data is correspoonding but in 2 different variables
DATABASE --
import java.io.*;
public class Library
{
String titlesb[][] ={
{"NAME OF BOOK ","AUTHOR OF BOOK ","GENRE ","No. Of COPIES","Book Code"},
};
String bookBase[][]={
{"Computer Application ","Arun Jasuja ","Education "," 03"," A01R3"},
{"Julius Caesar ","Willium Shakespeare ","Drama "," 05"," A02R1"},
{"The boy who liked shopping ","Carol Krueger ","Humour "," 02"," A03R2"},
{"The Sweet Giant ","Ujjwala Ghate ","Mystery "," 06"," A04R4"},
{"The New Little Tree ","Mahendra Kamlesh ","Humour "," 01"," A05R2"},
{"Big Bad Bully ","Teddy Slater ","Adventure "," 04"," A06R5"},
{"The Snow Queen ","Andersan ","Mystery "," 09"," A07R4"},
{"The Fisherman and The King ","M.P.Jain ","Humour "," 07"," A08R2"},
{"The Mango Tree ","Sunita Jain ","Adventure "," 12"," A09R5"},
{"Land Of the Music Machine ","Ane Weber ","Adventure "," 08"," A10R5"},
{"The Magic Finger ","Roald Dahl ","Humour "," 20"," A11R2"},
{"A Text Book Of Geography ","Rita Rajen ","Education "," 05"," A12R3"},
{"Merchant Of Venice ","Willium shakespeare ","Drama "," 07"," A13R1"},
{"Romeo And Juliet ","Willium shakespeare ","Romance "," 10"," A14R6"},
{"Robot Takes A Test ","Helen Arnold ","Mystery "," 11"," A15R4"},
{"How to Deal With Friends ","Richard Powell ","Philosophy"," 02"," A16R7"},
{"Whispers Of Immortality "," ","Poetry "," 03"," A17R8"},
{"Hamlet ","Willium Shakespeare ","Tragedy "," 04"," A18R9"},
{"The Jungle Book ","Rudyard Kipling ","Adventure "," 07"," A19R5"},
{"Harry Potter [Full] ","J.K.Rowling ","Adventure "," 09"," A20R5"},
};
String titlesm[][]={{"Name ","Username ","Borrowed Book Code","Days left","Total Fine","Blackilist Level"},};
String members[][]={