#1082: Remove secondary id sorting, allowing index to be used

Related to #1140
Fix error
Fix order:comm and comment deletion for unbumped comments

fixes #1351, fixes #1352