Calibredb --list should already be sorted if you used the right arguments.
but, yes, you need to jump thru hoops to get Your
arbitrary sort. (but you wanted Line numbers.
Look at some of the output options in your office suite (I use Libre Office), that may give you word processing output options

Nope, the Reading List PI only allows Calibre viewing