added sequential SortGreedy