@kaufman: as eschwartz said, nice.
I assume that you are using the new custom column in a user-defined sort (Authors, #yourCol). You could do it all in the custom column, freeing a user-defined sort and also giving you the possibility to invert the sort. Using eschwartz's modification, the template would be:
Code:
program:
strcat(
field('author_sort'),
':::',
ifempty(
strcat(
field('series'),
finish_formatting(
field('series_index'),
"5.2f",
" (",
")"
)
),
field('title')
)
)
Also, you might want to use the series_sort() function instead of field('series'). Depends on whether you want to sort on "The Lost Fleet" or "Lost Fleet, The".