symbol sorting works correctly now.
fixed the symbol group order tests as well