fixed sorting issue with creating lk