added sort function
1.1.0