I am having items in my Google Sheet under a priority column.
Priority
Must have
Could have
Must have
Should have
Should have
I want to apply the sorting so that all "must have" values are on top then "should have" and then "could have".
=ArrayFormula(sort(A1:A5,match(A1:A5,{"Must have","Should have","Could have"},0),TRUE))