Add basic sort.