Question 1: Comparing two Strings (10 points)
In the file Sorting.java, write a method called Compare2 that takes String s1 and String s2 as arguments and returns an integer. It should compare s1 and s2 alphabetically as follows:
- If s1 > s2, return a positive integer.
- If s1 < s2, return a negative integer.
- If s1 = s2, return 0.
You cannot use any built-in functions for comparing strings provided by Java for this question. You should use a for loop that compares each character one by one. Recall that we can extract characters from Strings using the charAt method. You are to treat upper and lower case as if they were identical.