So I need help with sorting values in arrays descending or ascending doesn't really matter just as long as I get to know how to sort them.
Basically I need to write a code for a program that would accept 50 values and stop when a negative number is entered. After that the program should sort through the values via descending order.