added sort command