Suppose you have a slice nums of int numbers. Your task is to sort the nums slice by the remainder of dividing each number by 5 and then output the resulting slice.
To do this, you'll need to use sort.SliceStable() function with an anonymous function that performs the modulo operation %5 when comparing the two numbers.
Note that you could also use the
sort.Slice() function to solve this task because the slice is small and only has four numbers. However, if the slice had thousands of numbers, it would be better to use the sort.SliceStable() function to guarantee that the sorted numbers preserve the same initial order.