bug fix in create new bill
sort closed bill by closed date and by created date for open bills by default