added orderByClause to LWCreator
added orderBy functionalTest