Revert "Revert "Sorting via priority. Update 1/3""

This reverts commit 44f61899ac5e1f57134f31d0a8a9eb4a95bf0ed1.
Revert "."

This reverts commit 227d8cdf289a96963a40b15c8fa9ba6cf33aa50b.
Revert "Revert "Changes to UI""

This reverts commit f409d6928a9fd288e050d9fb6292f3f2a228a46c.