BE: Add support for sorting by Status
Acceptance criteria
- Option "Status" added to sort list
- When selected, Status sorts using lifecycle order
- When >1 lifecycle is present, interpolate the order within each category, meaning that when sorted ascending each triage status is first, followed by each to do status, etc.
- e.g. lifecycle1[triage][0], lifecycle2[triage][0], lifecycle1[triage][1], lifecycle1[todo][0], lifecycle2[todo][0]...lifecycle2[canceled][1], lifecycle2[canceled][2]
- Ascending shows status triage > to do > in progress > done > canceled; descending the reverse
- When >1 lifecycle is present, interpolate the order within each category, meaning that when sorted ascending each triage status is first, followed by each to do status, etc.
Edited by 🤖 GitLab Bot 🤖