Added my self solution about sort_stack