10.3 sorting method