Updated XSL and Groovy code to utilize and improve the sort features

Modified Groovy code to alternate asc or desc order for the menus
Modified XSL to utilize the new xml attributes