Create a list of subnotes - jaap-karssenberg/zim-wiki GitHub Wiki
Create a file.sh with the following content:
#!/bin/bash
#print subnotes
DIR=${1%.*}
find $DIR -type f -printf '%d\t%P\n' | sort -r -nk1 | cut -f2- | cut -f 1 -d '.'
Create a custom command using the following and check the "..replace current selection":
/path/to/file.sh %s