Fix cell sorting as per http://forums.zotero.org/discussion/27396/bibliography-order-issues/