Advertisement

Responsive Advertisement

for sorting list a to z alphabetical order

 custmList.sortWith { lhs, rhs ->

    lhs.name.compareTo(rhs.name, ignoreCase = true)
}

Post a Comment

0 Comments