added getEntitiesWithOrder method to ContentUtils class