Implements loading order details in account history without page reload
Sorts orders in account history by ID to get a stable listing