diff --git a/frontend/src/Components/Admin/Checkout/Checkout.tsx b/frontend/src/Components/Admin/Checkout/Checkout.tsx
index c429a41..072531e 100644
--- a/frontend/src/Components/Admin/Checkout/Checkout.tsx
+++ b/frontend/src/Components/Admin/Checkout/Checkout.tsx
@@ -329,13 +329,16 @@ const Checkout = (props: Props) => {
if (checkouts.length === 0) {
return []
}
- const entries = []
+ const entries = [[,checkouts[0].id]]
let lastEntry = checkouts[0]
checkouts.slice(1).forEach(value => {
- entries.push();
+ entries.push([,value.id]);
lastEntry = value;
})
- return entries.reverse()
+
+ entries.sort((a:any,b:any) => a[1] - b[1])
+
+ return entries.map(value => value[0])
}