Added manual input instead of hardcoded numbers

Added a textfield where the user can write the numbers to sort.