did sorting