Split Sort command in two case : Sort with configuration file / Mathematic sort