I might have an array that looks like the following:
[1, 4, 2, 2, 6, 24, 15, 2, 60, 15, 6]
Or, reall
You can use directly a set collection to remove duplicate, then cast it back to an array
var myArray = [1, 4, 2, 2, 6, 24, 15, 2, 60, 15, 6]
var mySet = Set(myArray)
myArray = Array(mySet) // [2, 4, 60, 6, 15, 24, 1]
Then you can order your array as you want
myArray.sort{$0 < $1} // [1, 2, 4, 6, 15, 24, 60]