Python Insert Array Into Another Arraylist Sorting In Java