call clear on sort