This method sorts properly regardless of capitalization.