Added compile order by field function

Added compiler flag for processing the orders ordered by field
Added compileOrderbyfield function which compiles the orders ordered by field.