added simple sort method