Issue #3264071 by vijaycs85: When adding a new view an error takes place due to the deprecated function uasort()