add example of using sort with 'wp cap list'; closes #715