Gets all valid operations derived from the operations property. The list is ordered with respect to the nc_program_oderByTool parameter and considers the number of instances in a setup.
"nCProgram_var" is a variable referencing a NCProgram object. | 
        
"nCProgram_var" is a variable referencing a NCProgram object. |