[Bug][Functionality][Main Container] Item sorting in "copy to project" modal is improper
It was observed that the sorting method of items inside the "copy to project" modal is different than the sorting method of the Side Bar. The modal's items are sorted by creation date while Side Bar items are sorted alpha-numerically.
Please refer to the attached screenshot.
add sorting for projects by name and refactor code
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <email@example.com>