Implement compareStrings(a, b) that compares two values lexicographically and returns an integer indicating their relative order. Return 0 if the two values are strictly equal, -1 if a comes before b, and 1 if a comes after b. Use the language's natural comparison operators so the function works for any pair of values that can be ordered.
Input
a: the first value to compare
b: the second value to compare
Output
An integer: 0 when a equals b, -1 when a is less than b, and 1 when a is greater than b.
Examples
Example 1
Inputa = [1, 2, 3, 4, 5], b = "world"
Output-1
Explanation: The first value is less than the second under the language's default ordering.
Example 2
Inputa = [10, 20], b = "world"
Output-1
Explanation: Same ordering rule applies: a < b returns -1.
Constraints
The function must return exactly one of -1, 0, or 1.
Use strict equality to detect the equal case before deciding the order.