Making order in db views & preparing to expand