How to make sure not same numbers are entered and order them for less to greater in a array?
===

I want to know how to store 9 values in an array and then make sure that they are not repeat as well as less to greater