Added delay to sorting when done by hat