java files for Length sortable string