diff --git a/municipal-services/ws-services/src/main/java/org/egov/waterconnection/repository/builder/WsQueryBuilder.java b/municipal-services/ws-services/src/main/java/org/egov/waterconnection/repository/builder/WsQueryBuilder.java index 835b69dde..2fbe61322 100644 --- a/municipal-services/ws-services/src/main/java/org/egov/waterconnection/repository/builder/WsQueryBuilder.java +++ b/municipal-services/ws-services/src/main/java/org/egov/waterconnection/repository/builder/WsQueryBuilder.java @@ -754,7 +754,7 @@ private String addPaginationWrapperForPlaneSearch(String query, List pre private String addOrderByClauseForPlaneSearch(SearchCriteria criteria) { StringBuilder builder = new StringBuilder(); - builder.append(" ORDER BY wc.appCreatedDate "); + builder.append(" ORDER BY conn.createdTime"); if (criteria.getSortOrder() == SearchCriteria.SortOrder.ASC) builder.append(" ASC "); else