sort macro list