added sort to lsit at start