Fix sequence_order from lab4/homework4 to work with empty list as an argument