added sort to SATD