Sorting arrays in Java
问题 Write a static method in Java: public static void sortByFour (int[] arr) That receives as a parameter an array full of non-negative numbers (zero or positive) and sorts the array in the following way: In the beginning of the array all the numbers that are divisible by four will appear. After them all the numbers in the array that divide by 4 with a remainder of 1 will appear. After them all the numbers in the array that divide by 4 with a remainder of 2 will appear. In the end of the array