/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* sorting.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: dkaiser content >> bit) % 2 == 0) run_command(stack_a, stack_b, cmds, PB); else if ((*stack_a)->next) run_command(stack_a, stack_b, cmds, RA); i++; } while (*stack_b) run_command(stack_a, stack_b, cmds, PA); bit++; } } void stack_sort(t_list **stack_a, t_list **stack_b, t_list **cmds) { stack_radixsort(stack_a, stack_b, cmds); }