I wanted to know how to create a sort function for sorting the ith arraylist by value for the given code snippet below
nob//number of boxes nod//number of di