sort space regardless of case