fixed sorting on ending date of current voucher