“SELECT * FROM com_TKE_SI_PM_bean_InspectionEntity ORDER BY CASE WHEN Status = 2
THEN 1
WHEN Status = 4
THEN 2
ELSE 3
END ASC”;
status = 2 in the first row status = 4 in second left ascending
“SELECT * FROM com_TKE_SI_PM_bean_InspectionEntity ORDER BY CASE WHEN Status = 2
THEN 1
WHEN Status = 4
THEN 2
ELSE 3
END ASC”;
status = 2 in the first row status = 4 in second left ascending