Create a view result in console and add sorting functions to result storage.