SyntaxFix
Write A Post
Hire A Developer
Questions
You might sort the helper[] array directly:
helper[]
java.util.Arrays.sort(helper, 1, helper.length);
Sorts the array from index 1 to the end. Leaves the first item at index 0 untouched.
See Arrays.sort(Object[] a, int fromIndex, int toIndex)