Update Sort class