Sort the column items in DBAPI

This should alleviate some problems found in #1. After merging this, we can retrigger a build with Travis to see if this improves the situation.