JIRA ISSUE XCOMMONS-602:Add sort options SpaceIndex

A little bit of cleaning end of line.