adding the definition for running only specific sort types