case insensitive sorting of variables