Hi
Please be noted that ISR has higher priority over the tasks.
A task is a software feature that is unrelated to the hardware on which FreeRTOS is running. The priority of a task is assigned in software by the application writer, and scheduler decides which task will be in the running state.
An interrupt service is a hardware feature because hardware controls which interrupt routine will run. Tasks will only run when there are no ISRs running. So the lowest priority interrupt will interrupt the highest priority task.
For FreeRTOS task priority, the bigger the number, the lower is the priority.
Regards
Daniel