lsort
lsort [-increasing] [-decreasing] <list>
This function sorts the specified <list> according to the order specified (increasing or decreasing). The software sorts the elements using ASCII string comparison.
# sort cells in increasing order
set sorted_cells [lsort -increasing [get_cells LUT*]]
# sort cells in decreasing order
set sorted_cells [lsort -decreasing [get_cells LUT*]]