How to fetch record with multi condition and sort by desc

How to fetch record with multi condition and sort by desc

I would like to create a serial number; the code is by year and month: [YYMMXXXX], XXXX is from 0001 to 9999.
I create two fields as condition of filter, the Deluge code is:
  1. if(SerialNo == "")
  2. {
  3. CurrentYear = zoho.currentdate.getYear();
  4. CurrentMonth = zoho.currentdate.getMonth();
  5. query_map = Map();
  6. query_map.put("Create_Year",CurrentYear);
  7. query_map.put("Create_Month",CurrentMonth);
  8. query_map.put("sort_by","Serial_No");
  9. query_map.put("sort_order","desc");
  10. RecRequest2 = zoho.crm.getRecords("Request",1,5,query_map);
  11. if(RecRequest2.size() > 1)
  12. {
  13. NewSerialNo = RecRequest2.get(1).get("Ticket_No").toLong() + 1RecRequest2.get(1).get("Ticket_No").toLong() + 1;
  14. }
  15. else
  16. {
  17. NewSerialNo = CurrentYear.toString() + CurrentMonth.toString() + "0001";
  18. }
  19. }
The "query_map" with two condition: create year and month, but the "RecRequest2" are not including the condition, the result of Create Year and Create Month is empty. 
How can I fix it?