I'm not sure if there's a flash function but when I used to do this manually I used to:
1 – sort in ascending order
2 – add another column called 'duplicate'
3 – use an IF to set the duplicate cell to 1 if the number above it was the same (e.g. IF(A2=A1,1,0))
4 – copy and paste values in this column
5 – sort the whole sheet according to the duplicate column (make sure you're not just sorting the reference column but the whole data set)
6 – delete out all the duplicates and remove the extra column if necessary.
Shouldn't take more than 2 mins.
Hope that helps.