adding sort command