addad desc sorting for graphs view