On checking it has been observed that in bill wise outstanding report – sorting is not appropriate, currently sorting basis is “ref. date and then by PI no.” wherein it should be “Ref date. and then by Ref. no.”
Or it can be done by providing an option to the user as well.