Below is the Sample Query Which You can try
SELECT * FROM temp
ORDER BY
CASE OperationCode
WHEN 'Repl' THEN 1
WHEN 'R&I' THEN 2
WHEN 'Ovrh' THEN 3
WHEN 'Refn' THEN 4
END, OperationOrder
1
solved SQL Query with specific Order By format [closed]