Angular Sort Array Of Objects Python Interview Question