Add a sort command