parser/printer/tests: Add :sort command support