Sort a list using reverse sublist operation