How to apply such SQL order in Criteria API?
order by BB.BUILDING_NUMBER, decode(outBo.TYPE, \'9E85B2C7F445