modify the transasction jsp and sort