amount and unit price computation and some fixes on sorting