Sorting works were complated