I have a list which is made up of nested lists. I want to rearrange the order of sublists. I tried using the list.reverse()
method, however it reverses the elements of the sublist. I want to reverse just the order of sublist rather than the elements.
Input : [['25', '9', 'BID', 'toaster_1', '17.00'], ['26', '11', 'BID', 'toaster_1', '17.00']]
Expected Output : [['26', '11', 'BID', 'toaster_1', '17.00'],['25', '9', 'BID', 'toaster_1', '17.00']]