I've tested what you posted above and it seems to be working, but now my fandoms no longer show in the correct order.
I have this in my personal.ini:
Code:
keep_in_order_category:true
but the metadata for the fandoms for this story are sorted alphabetically when they show up in Calibre.
http://archiveofourown.org/works/4680278