0

Let's say I have a class called Order, for each order of burgers I do at a burger restaurant. I have an array of all the orders that have been placed today (Order[]) called orderstoday I want to sort orderstoday[] by the time each order have been placed, which can be obtained by Order.timestamp. How do I do this? Thanks.

0 Answers0