Added SortBySquare