Implemented comparators for User and SearchedPost objects.
Created Sort class to sort list based on requested columns.