Group Sorting

Expanded upon @vIiRuS's pr: https://github.com/HabitRPG/habitrpg/pull/3842

Adds habit joined date and last time logged into habit options for sorting party in header, as well as the ability to sort ascending or descending.

Companion PR in habitrpg-shared forthcoming.