sort and add useful settings