How to set test case priority in TestNG?

How to set test case priority in TestNG?

TestNG, being a testing framework, it covers different test designs. If “test priority” is not defined, TestNG assigns it to zero(0).