removed function loop limits from most operators; new sort test