orderliness in db classes