[2774] Added sort for list

https://gist.github.com/kamilgrela/9a49e81e798cd23382dd