How to sort slice of 32bit integers, I know about “sort” packege’s Ints method but unfortunately it accepts only slice of ints
Akezhan_Esbolatov (AkezhanOb1) #1
NobbZ (Norbert Melzer) #2
By wrapping in a very simple type and then implementing
sort.Interface for that.
NobbZ (Norbert Melzer) #4
Nice, I have to remember that one! Would have saved me a lot of lines in a couple of projects…