added support for collating sequence to db config. closes #1512