Client-side sorting

Moved from server-side sorting to client-side to
accommodate for child comment sorting.