I have a yad checklist with 114 sorted rows from 1 to 114 in 3 columns:
list=$(cat file | yad --list --checklist --column= --column=Ne --column=ID --column=EMAIL)
if [ $? = 0 ]; then
var=$(echo "$list" | awk -F"|" '{print $1, $3}')
fi
For example, when the following rows in first column are checked: 1, 20 and 7 the output is sorted like this:
TRUE 1
TRUE 7
TRUE 20
how to get values sorted by row click (1, 20 and 7)?