Fixed invalid variable name for ordering