Category : sorting

I have a list of player data from a torment that they submit using a discord bot, this data is stored like so in a larger object but this is all that really matters, "players": { "329353232570908682": { "played": 1, "wins": 1, "loses": 0, "draws": 0, "total": 3, "adjusted": 0 }, "802227344151937044": { "played": 1, ..

Read more

I want to sort an array in the basis of Same SKU wise My Array like this.. myArray = [ {SKU: "Hoo12", Name: "ACyrlic watch",OrderNo:"26423764233456"}, {SKU: "S0002", Name: "Princes Geometry",OrderNo:"124963805662313"}, {SKU: "Hoo12-1", Name: "Ring lite",OrderNo:"122324234234"}, {SKU: "H0015", Name: "Wodden Clock",OrderNo:"32847832974322"}, {SKU: "Hoo12-2", Name: "Condom ",OrderNo:"87234687324724"}, ] I want to output like this. How to get ..

Read more

orders: { orders: [ { addressDetails: { addressLine1: ‘Dhruba’s Home’, addressLine2: ‘Dhauliguri’, city: ‘Kokrajhar’, email: ‘[email protected]’, landmark: ‘Chandrapara Gas Agency’, phoneNo: ‘9876543210’, pinCode: ‘783321’ }, products: [ { id: ‘-MKBFRQbLhkV5yvtclpD’, oldPrice: ‘186’, productName: ‘Fortune Premium Kachi Ghani Pure Mustard Oil’, unitPrice: ‘128’, units: 3 }, { id: ‘-MKBFdmYxUmkl0snpb-o’, oldPrice: ‘220’, productName: ‘Saffola Low Cholestrol Mustard ..

Read more

I would like to sort some data im receiving in the following structure by timestamp: { art_AYNgc8KwfbewFawAsogtH1Eii5eu7kKfjM3CrEpFhzWY: [ timestamp: ‘1613713166629’, art_type: ‘Type: image/jpeg – Size: 6442.15 Ko – Dimensions: 4000 x 6000 px’, art_name: ‘Name 1’, ], art_FJPKZQKfkfzNnF6AZRiayzVdKEyCg3ZJc4Kb6hTEZMUH: [ timestamp: ‘1613868065000’, art_type: ‘Type: image/png – Size: 8475.15 Ko – Dimensions: 3000 x 2000 px’, art_name: ..

Read more