Implemented results view

I use it on line 32, but also refactored sort captions to use it