fixing sorting bug in length dist graph