|
@@ -86,7 +86,7 @@ class BedroomService extends CrudService {
|
|
|
|
|
|
async getstudents(termid, batchid) {
|
|
|
|
|
|
- const studentList = await this.umodel.find({ termid, batchid }).sort({ gender: 1 });
|
|
|
+ const studentList = await this.umodel.find({ termid, batchid }).sort({ gender: -1 });
|
|
|
return studentList;
|
|
|
}
|
|
|
|