I would like to know more about the array sorting. Like we have a example of source:
array(78,124,54,84,124,658,54,84)
here we just want to create another array, with only unique the double values,see in above array 124,54,84 is repeated two times, We only consider these values(we can make any changes for Single Values). And We just want refreshed array like this one:
array(124,54,84)
I guess you are looking for this:
Output: