I got my algorithm to sort and display the results as shown in the output example, but it's not recognized by system. Can anyone advise as to why it's not working? Thank you.