Added class for sorting tests and favorites xml