codes sorted by code ASC by default