LCP: sort in descending order

also added some more tests