This program sorts data on a stack, with a limited set of instructions, using the lowest possible number of actions.
For that, various types of algorithms have been manipulated and the most appropriate solution has been choosen for an optimized data sorting - based on the "Longest Increasing Subsequence".
There are 2 stacks named a and b. At the beginning the stack a contains a random amount of negative and/or positive numbers which cannot be duplicated. The stack b is empty. The goal is to sort in ascending order numbers into stack a. Certain operations are available for this purpose.
