Questions tagged as 'order'

0
answers

Sort the contents of the MetroGridView by clicking on the Heder title of a given column

Hello everyone, I have a problem, which I have been fighting for some time now. I'm using in my application MetroFramework and linq, and I noticed that MetroFramework does not have certain properties or that they do not work as they should, or s...
asked by 05.06.2017 / 11:07
2
answers

how to put this here in ascending order? [duplicate]

<?php $var = 5; for ($i = 0; $i <= $var-1; $i++) { $new_data = array($i => $count[$i]["rank"]); foreach ($new_data as $i => $key) { print(var_export($key).","); } } ?> It returns this: 87,41,88,32,26,2...
asked by 18.02.2018 / 14:43
1
answer

How to get the index comparing two lists of different lengths in Python?

I have two different lists in two CSV files. The first list has 47843 items and the second 813331, which is the first multiplied by 17. I want to get the index position in the first, based on the value of the second, because the second one...
asked by 06.09.2018 / 21:14
0
answers

Resolved: How to sort an array of objects without sequentially repeating two specific properties in Javascript?

Good evening guys, I'm breaking my head here, but I could not come up with a solution ... next, I have an array of objects: [ {order: 0, from: 'Birigui', to: 'Penápolis'}, {order: 1, from: 'Birigui', to: 'Araçatuba'}, {order: 2, fr...
asked by 07.12.2018 / 23:10
0
answers

Sort an array when the first letter has accents

I am ordering an array to display a multiselect, but when I change the system language I have some labels that have accentuation in their first letter, by undoing my array and entering the words that have accentuation to the end of the list. >...
asked by 20.08.2018 / 22:28
0
answers

Sort 3 arrays according to the first array

I have 3 separate arrays in $ students, $ sites, $ considerations. I'm trying to sort out my data through the $ students array. When I order the $ students array, the other two arrays that have row-to-row bindings with the $ students array are i...
asked by 12.08.2018 / 20:02
2
answers

SQL - group by, count

Good afternoon, I currently have the following code and result. Instead of having this result, I would rather have only one line for each type (column 1), this line being the one whose column 4 has the highest value. If anyone can help (I'm a be...
asked by 20.05.2018 / 14:56
2
answers

Sort data by date in Firebase

I would like to sort the data returned from Firebase by the Expiration Date, I am currently doing the following: this.Collection = document.collection('values', ref => ref.orderBy('data_vencimento')); But as can be seen in the image belo...
asked by 13.03.2018 / 17:03
0
answers

Sort fields from a GRID in alphabetical order - Delphi

I need to sort the grid fields in my chart alphabetically (Usage Delphi 10.1 Berlim and the TcxDBPivotGrid component of DevExpress), The following image is attached: OBS - > I need to sort the fields that are in the Gri...
asked by 11.12.2017 / 19:42
1
answer

Order by timestamp dataTables Angular jS

Hi, I want to create a table with the following values: controllerScope.logsData = { ajax: { url: '/api/organizations/'+$rootScope.organization.id+'/alerts?type=logevent', dataSrc: '', beforeSend: function (xhr) {...
asked by 16.02.2017 / 12:08